add PATH to example crontab

This commit is contained in:
paul 2017-08-26 10:45:43 +02:00 committed by Hive
parent c3d142756e
commit b89dbbed70

View file

@ -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 # backup mail, once every 2 hours
30 */2 * * * /root/backup/backupscript.sh -q -k 20 mail 30 */2 * * * /root/backup/backupscript.sh -q -k 20 mail
# backup userdirs # backup userdirs