From 6185e18cc59941b0f9e1ebdcc9a4ac7df2e45f31 Mon Sep 17 00:00:00 2001 From: Patrick Gansterer Date: Mon, 21 Aug 2017 16:01:36 +0200 Subject: [PATCH] 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. --- config/schedule.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/schedule.rb b/config/schedule.rb index 26e2d1f2..54e4e582 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -4,10 +4,10 @@ # Upcoming tasks notifier every :day, :at => '7:20 am' do rake "multicoops:run TASK=foodsoft:notify_upcoming_tasks" + rake "multicoops:run TASK=foodsoft:notify_users_of_weekly_task" end # Weekly taks every :sunday, :at => '7:14 am' do rake "multicoops:run TASK=foodsoft:create_upcoming_periodic_tasks" - rake "multicoops:run TASK=foodsoft:notify_users_of_weekly_task" -end \ No newline at end of file +end