Mercurial > public > sg101
comparison gpp/settings/base.py @ 518:5171a5e9353b
For #194, add a celery task for purging deleted private messages.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 16 Dec 2011 01:17:35 +0000 |
parents | beda97542da8 |
children | f72ace06658a |
comparison
equal
deleted
inserted
replaced
517:666147a2cc08 | 518:5171a5e9353b |
---|---|
222 }, | 222 }, |
223 "cleanup": { | 223 "cleanup": { |
224 "task": "core.tasks.cleanup", | 224 "task": "core.tasks.cleanup", |
225 "schedule": crontab(minute=0, hour=1), | 225 "schedule": crontab(minute=0, hour=1), |
226 }, | 226 }, |
227 "purge messages": { | |
228 "task": "messages.tasks.purge_messages", | |
229 "schedule": crontab(minute=30, hour=1, day_of_week='sunday'), | |
230 } | |
227 } | 231 } |
228 | 232 |
229 ####################################################################### | 233 ####################################################################### |
230 # GPP Specific Settings | 234 # GPP Specific Settings |
231 ####################################################################### | 235 ####################################################################### |