Add an option to automatically finish an order
This commit is contained in:
parent
c3927e4013
commit
564492afe4
10 changed files with 77 additions and 3 deletions
|
|
@ -11,3 +11,8 @@ end
|
|||
every :sunday, :at => '7:14 am' do
|
||||
rake "multicoops:run TASK=foodsoft:create_upcoming_periodic_tasks"
|
||||
end
|
||||
|
||||
# Finish ended orders
|
||||
every 1.minute do
|
||||
rake "multicoops:run TASK=foodsoft:finish_ended_orders"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue