Fix uWSGI cron configuration
The missing daily routines are also added.
This commit is contained in:
@@ -25,11 +25,12 @@ gid = 1000
|
||||
attach-daemon = ./manage.py qcluster
|
||||
|
||||
# Setup hyperkitty's cron jobs.
|
||||
cron2 = unique=1 ./manage.py runjobs minutely
|
||||
cron2 = hour=1,unique=1 ./manage.py runjobs hourly
|
||||
cron2 = day=1,unique=1 ./manage.py runjobs monthly
|
||||
cron2 = week=1,unique=1 ./manage.py runjobs weekly
|
||||
cron2 = month=1,unique=1 ./manage.py runjobs yearly
|
||||
unique-cron = -1 -1 -1 -1 -1 ./manage.py runjobs minutely
|
||||
unique-cron = 0 -1 -1 -1 -1 ./manage.py runjobs hourly
|
||||
unique-cron = 0 0 -1 -1 -1 ./manage.py runjobs daily
|
||||
unique-cron = 0 0 1 -1 -1 ./manage.py runjobs monthly
|
||||
unique-cron = 0 0 -1 -1 0 ./manage.py runjobs weekly
|
||||
unique-cron = 0 0 1 1 -1 ./manage.py runjobs yearly
|
||||
|
||||
# Setup the request log.
|
||||
req-logger = file:/opt/mailman-web-data/logs/uwsgi.log
|
||||
|
||||
Reference in New Issue
Block a user