Add sessions2trash cron job for web2py
This commit is contained in:
parent
213029577e
commit
3e1d5076ab
@ -4,7 +4,6 @@ gid = sahana
|
|||||||
chown-socket = www-data:www-data
|
chown-socket = www-data:www-data
|
||||||
chdir = /srv/sahana
|
chdir = /srv/sahana
|
||||||
module = wsgihandler
|
module = wsgihandler
|
||||||
mule = run_scheduler.py
|
|
||||||
cheaper = 1
|
cheaper = 1
|
||||||
cheaper-algo = spare
|
cheaper-algo = spare
|
||||||
cheaper-initial = 1
|
cheaper-initial = 1
|
||||||
@ -12,3 +11,5 @@ cheaper-step = 1
|
|||||||
workers = 4
|
workers = 4
|
||||||
idle = 600
|
idle = 600
|
||||||
harakiri = 120
|
harakiri = 120
|
||||||
|
mule = run_scheduler.py
|
||||||
|
cron = 10 -1 -1 -1 -1 python web2py.py -Q -S eden -M -R scripts/sessions2trash.py -A -o
|
||||||
|
Loading…
Reference in New Issue
Block a user