You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
sharedlists/lib/tasks/ftp_sync.rake

7 lines
212 B

desc "Sync files via FTP. Update articles."
task sync_ftp_files: :environment do
Supplier.ftp_sync.all.each do |supplier|
puts "FTP-sync files for #{supplier.name}..."
supplier.sync_ftp_files
end
end