Notify users also about tasks which are not on sundays (PR #494)
notify_users_of_weekly_task notifies workgroups about tasks with and due date of 7 days in the future. Call it every day to notify users of all tasks.
This commit is contained in:
parent
329ac66cf1
commit
6185e18cc5
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@
|
||||||
# Upcoming tasks notifier
|
# Upcoming tasks notifier
|
||||||
every :day, :at => '7:20 am' do
|
every :day, :at => '7:20 am' do
|
||||||
rake "multicoops:run TASK=foodsoft:notify_upcoming_tasks"
|
rake "multicoops:run TASK=foodsoft:notify_upcoming_tasks"
|
||||||
|
rake "multicoops:run TASK=foodsoft:notify_users_of_weekly_task"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Weekly taks
|
# Weekly taks
|
||||||
every :sunday, :at => '7:14 am' do
|
every :sunday, :at => '7:14 am' do
|
||||||
rake "multicoops:run TASK=foodsoft:create_upcoming_periodic_tasks"
|
rake "multicoops:run TASK=foodsoft:create_upcoming_periodic_tasks"
|
||||||
rake "multicoops:run TASK=foodsoft:notify_users_of_weekly_task"
|
|
||||||
end
|
end
|
Loading…
Reference in a new issue