Skip to content
Newer
Older
100644 19 lines (14 sloc) 771 Bytes
89aacc7 @slav0nic added crontab example; unban command renamed to djangobb_unban
authored
1 #Crontab example for DjangoBB
2
3 $DJANGOBB_PROJECT = '<path to djangobb project>'
4 #for expired sessions (is't needed if you use cache backend for sessions)
5 * * * * */2 (cd $DJANGOBB_PROJECT; ./manage.py cleanup)
6
7 #for django-authopenid
8 * * * * */2 (cd $DJANGOBB_PROJECT; ./manage.py cleanupnonces)
9 * * * * */2 (cd $DJANGOBB_PROJECT; ./manage.py cleanupassociations)
10
11 #for registration
12 * * * * 6 (cd $DJANGOBB_PROJECT; ./manage.py cleanupregistration)
13
14 #for django-mailer
15 * * * * * (cd $DJANGOBB_PROJECT; ./manage.py send_mail >> $DJANGOBB_PROJECT/cron_mail.log 2>&1)
16 */30 * * * * (cd $DJANGOBB_PROJECT; ./manage.py retry_deferred >> $DJANGOBB_PROJECT/cron_mail_deferred.log 2>&1)
17
18 #for DjangoBB unban
19 * */1 * * * (cd $DJANGOBB_PROJECT; ./manage.py djangobb_unban --by-time)
Something went wrong with that request. Please try again.