[fix] add PATH to cron
This commit is contained in:
parent
13b46225b5
commit
296b1998a0
@ -257,6 +257,7 @@ echo "\$(date) Restarted"
|
||||
HEREDOC
|
||||
chmod +x /usr/local/sbin/auto_upgrade_wekan
|
||||
cat << HEREDOC > /etc/cron.d/auto_upgrade_wekan
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin/:/usr/local/bin/
|
||||
0 0 * * * root /usr/local/sbin/auto_upgrade_wekan
|
||||
HEREDOC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user