diff options
-rw-r--r-- | src/meetingtools/apps/room/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/tasks.py b/src/meetingtools/apps/room/tasks.py index bf8e837..f2527b2 100644 --- a/src/meetingtools/apps/room/tasks.py +++ b/src/meetingtools/apps/room/tasks.py @@ -212,7 +212,7 @@ def send_message(user,subject,message): logging.error("Error while sending email: \n%s" % exc) send_message.retry(exc=exc) -@periodic_task(run_every=crontab(hour="*", minute="*", day_of_week="*")) +@periodic_task(run_every=crontab(hour="1", minute="5", day_of_week="*")) def clean_old_rooms(): for acc in ACCluster.objects.all(): then = datetime.now() - timedelta(days=30) |