diff --git a/weblate/accounts/tasks.py b/weblate/accounts/tasks.py index e1139d9e2509..6ce78435f15b 100644 --- a/weblate/accounts/tasks.py +++ b/weblate/accounts/tasks.py @@ -161,7 +161,7 @@ def setup_periodic_tasks(sender, **kwargs): crontab(hour=1, minute=0), notify_daily.s(), name="notify-daily" ) sender.add_periodic_task( - crontab(hour=2, minute=0, day_of_week="monday"), + crontab(hour=2, minute=0, day_of_week="mon"), notify_weekly.s(), name="notify-weekly", ) diff --git a/weblate/billing/tasks.py b/weblate/billing/tasks.py index 08b648742b30..53e4b9a5e289 100644 --- a/weblate/billing/tasks.py +++ b/weblate/billing/tasks.py @@ -139,7 +139,7 @@ def setup_periodic_tasks(sender, **kwargs): crontab(hour=0, minute=50), billing_alert.s(), name="billing-alert" ) sender.add_periodic_task( - crontab(hour=3, minute=0, day_of_week="monday,thursday"), + crontab(hour=3, minute=0, day_of_week="mon,thu"), billing_notify.s(), name="billing-notify", ) @@ -149,12 +149,12 @@ def setup_periodic_tasks(sender, **kwargs): name="perform-removal", ) sender.add_periodic_task( - crontab(hour=2, minute=0, day_of_week="monday,thursday"), + crontab(hour=2, minute=0, day_of_week="mon,thu"), schedule_removal.s(), name="schedule-removal", ) sender.add_periodic_task( - crontab(hour=2, minute=30, day_of_week="monday,thursday"), + crontab(hour=2, minute=30, day_of_week="mon,thu"), notify_expired.s(), name="notify-expired", )