File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
adhocracy-plus/config/settings Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- from celery . schedules import crontab
1+ from datetime import timedelta
22
33from .base import *
44
3737CELERY_BEAT_SCHEDULE = {
3838 "send-recently-started-project-notifications" : {
3939 "task" : "send_recently_started_project_notifications" ,
40- "schedule" : crontab . from_string ( "0 0 */3 * *" ),
40+ "schedule" : timedelta ( days = 3 ),
4141 },
4242 "send-recently-completed-project-notifications" : {
4343 "task" : "send_recently_completed_project_notifications" ,
44- "schedule" : crontab . from_string ( "0 0 */3 * *" ),
44+ "schedule" : timedelta ( days = 3 ),
4545 },
4646 "send_upcoming-event-notifications" : {
4747 "task" : "send_upcoming_event_notifications" ,
48- "schedule" : crontab . from_string ( "0 0 */3 * *" ),
48+ "schedule" : timedelta ( days = 3 ),
4949 },
5050}
You can’t perform that action at this time.
0 commit comments