Make cron subshell execute manage.py directly - it is executable anyway
This commit is contained in:
parent
61574c5451
commit
9fceca16a4
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
SHELL=/bin/sh
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
*/5 * * * * root (cd /opt/vpnmanager; python3 manage.py runcrons)
|
||||
*/5 * * * * root (cd /opt/vpnmanager; ./manage.py runcrons)
|
||||
|
|
Loading…
Reference in a new issue