Fix uWSGI cron configuration

The missing daily routines are also added.
This commit is contained in:
Tatsuyuki Ishi
2017-07-25 09:08:02 +09:00
committed by GitHub
parent 846aa4064f
commit 70b81d64b5

View File

@@ -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