Might be good to run crons as root

This commit is contained in:
Kumi 2019-02-01 09:04:06 +00:00
parent e4e7ce3a52
commit 61574c5451

View file

@ -1,3 +1,3 @@
SHELL=/bin/sh SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/5 * * * * vpn (cd /opt/vpnmanager; python3 manage.py runcrons) */5 * * * * root (cd /opt/vpnmanager; python3 manage.py runcrons)