diff options
author | Johan Lundberg <lundberg@nordu.net> | 2014-04-01 17:37:00 +0200 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2014-04-01 17:37:00 +0200 |
commit | aa33fc379e512e88354a000972999a835266ed68 (patch) | |
tree | 4463990196f8891f5786ef21668c402464b6046e /meetingtools/apps/stats | |
parent | 76d1f7cd5458feb42cd3e6cde27dbce56a2db41b (diff) |
Full import helper tasks added but not activated.
Diffstat (limited to 'meetingtools/apps/stats')
-rw-r--r-- | meetingtools/apps/stats/tasks.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meetingtools/apps/stats/tasks.py b/meetingtools/apps/stats/tasks.py index 1d379e2..49e9abd 100644 --- a/meetingtools/apps/stats/tasks.py +++ b/meetingtools/apps/stats/tasks.py @@ -50,3 +50,9 @@ def import_sessions(since,room_last_visited=False): @periodic_task(run_every=crontab(hour="*", minute="*/5", day_of_week="*")) def _hourly_import(): import_sessions(600,True) + + +#@periodic_task(run_every=crontab(hour="5", minute="0", day_of_week="*")) +def timed_full_import(): + for acc in ACCluster.objects.all(): + import_acc_sessions(acc, room_last_visited=True)
\ No newline at end of file |