From b89dbbed70b4b537dbbc317c685eaa9b1a4e74bc Mon Sep 17 00:00:00 2001 From: Paul Scheunemann Date: Sat, 26 Aug 2017 10:45:43 +0200 Subject: [PATCH] add PATH to example crontab --- crontab.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crontab.example b/crontab.example index ed99f19..a16329d 100644 --- a/crontab.example +++ b/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