summaryrefslogtreecommitdiff
path: root/meetingtools
diff options
context:
space:
mode:
Diffstat (limited to 'meetingtools')
-rw-r--r--meetingtools/apps/room/tasks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meetingtools/apps/room/tasks.py b/meetingtools/apps/room/tasks.py
index a4828dd..911eed0 100644
--- a/meetingtools/apps/room/tasks.py
+++ b/meetingtools/apps/room/tasks.py
@@ -200,7 +200,7 @@ def import_recent_user_counts():
api.poll_user_counts(room)
# look for sessions that are newer than the one we know about for a room
-@periodic_task(run_every=crontab(hour="*", minute="*", day_of_week="*"))
+@periodic_task(run_every=crontab(hour="*", minute="*/5", day_of_week="*"))
def import_sessions():
for room in Room.objects.all():
with ac_api_client(room.sco.acc) as api:
@@ -252,7 +252,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="1", minute="5", 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)