add PATH to example crontab
This commit is contained in:
parent
c3d142756e
commit
b89dbbed70
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
# supply all the paths the script needs to run
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
SHELL=/bin/bash
|
||||
|
||||
# backup mail, once every 2 hours
|
||||
30 */2 * * * /root/backup/backupscript.sh -q -k 20 mail
|
||||
# backup userdirs
|
||||
|
|
Loading…
Reference in a new issue