diff options
author | Leif Johansson <leifj@sunet.se> | 2012-10-21 15:31:10 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-10-21 15:31:10 +0200 |
commit | 631dd99824b6143c0d0163d6789f2fca3b0d5da7 (patch) | |
tree | a4943afb7e72447a718f6b0f9ee0f3917bb2795a /meetingtools | |
parent | dbfbb82fb9d13e94e794b676f5ea569f3d1afac3 (diff) |
disable carper for now
Diffstat (limited to 'meetingtools')
-rw-r--r-- | meetingtools/apps/room/tasks.py | 4 |
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) |