summaryrefslogtreecommitdiff
path: root/meetingtools/apps/room
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2014-04-01 17:37:00 +0200
committerJohan Lundberg <lundberg@nordu.net>2014-04-01 17:37:00 +0200
commitaa33fc379e512e88354a000972999a835266ed68 (patch)
tree4463990196f8891f5786ef21668c402464b6046e /meetingtools/apps/room
parent76d1f7cd5458feb42cd3e6cde27dbce56a2db41b (diff)
Full import helper tasks added but not activated.
Diffstat (limited to 'meetingtools/apps/room')
-rw-r--r--meetingtools/apps/room/tasks.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/meetingtools/apps/room/tasks.py b/meetingtools/apps/room/tasks.py
index 5f70b01..0b90b60 100644
--- a/meetingtools/apps/room/tasks.py
+++ b/meetingtools/apps/room/tasks.py
@@ -220,6 +220,12 @@ def import_all_rooms():
import_acc(acc,since=3700)
+#@periodic_task(run_every=crontab(hour="3", minute="0", day_of_week="*"))
+def timed_full_import():
+ for acc in ACCluster.objects.all():
+ import_acc(acc)
+
+
def start_user_counts_poll(room,niter):
poll_user_counts.apply_async(args=[room],kwargs={'niter': niter})