Fix create_upcoming_periodic_tasks after 9ae7c05
This commit is contained in:
parent
46275fa564
commit
57bfd542b4
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ namespace :foodsoft do
|
||||||
desc "Create upcoming periodic tasks"
|
desc "Create upcoming periodic tasks"
|
||||||
task :create_upcoming_periodic_tasks => :environment do
|
task :create_upcoming_periodic_tasks => :environment do
|
||||||
for tg in PeriodicTaskGroup.all
|
for tg in PeriodicTaskGroup.all
|
||||||
created_until tg.create_tasks_for_upfront_days
|
created_until = tg.create_tasks_for_upfront_days
|
||||||
rake_say "created until #{created_until}"
|
rake_say "created until #{created_until}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue