mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 23:54:44 +02:00
implement asynchronous rake task for collect contact data from csv
This commit is contained in:
parent
cf450d373a
commit
aaaae888bf
5 changed files with 92 additions and 3 deletions
7
lib/tasks/scan_csv_registry_business_contacts.rake
Normal file
7
lib/tasks/scan_csv_registry_business_contacts.rake
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace :collect_csv_data do
|
||||
desc 'Import from csv registry business contact into BusinessRegistryContact model'
|
||||
|
||||
task business_contacts: :environment do
|
||||
ScanCsvRegistryBusinnesContactsJob.perform_later
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue