add PATH to example crontab

master
paul 5 years ago committed by Hive
parent c3d142756e
commit b89dbbed70
  1. 4
      crontab.example

@ -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…
Cancel
Save