Browse Source

[fix] add PATH to cron

master
alban 3 years ago
parent
commit
296b1998a0
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      install.sh

+ 1
- 0
install.sh View File

@@ -257,6 +257,7 @@ echo "\$(date) Restarted"
257 257
 HEREDOC
258 258
 chmod +x /usr/local/sbin/auto_upgrade_wekan
259 259
 cat << HEREDOC > /etc/cron.d/auto_upgrade_wekan
260
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin/:/usr/local/bin/
260 261
 0 0 * * * root /usr/local/sbin/auto_upgrade_wekan
261 262
 HEREDOC
262 263
 

Loading…
Cancel
Save