drbdadm is usually in /sbin which is not in the path for cron jobs
authorMatthias Förste <foerste@schlittermann.de>
Mon, 08 Sep 2014 14:37:30 +0200
changeset 11 b684759b7775
parent 10 09c1ce0d86ae
child 12 15d5f39d556c
drbdadm is usually in /sbin which is not in the path for cron jobs
verify-drbd.cron.template
--- a/verify-drbd.cron.template	Mon Sep 08 14:30:41 2014 +0200
+++ b/verify-drbd.cron.template	Mon Sep 08 14:37:30 2014 +0200
@@ -1,1 +1,3 @@
+# drbdadm is usually in /sbin
+PATH=/sbin:/usr/bin:/bin
 57  0   * * 6   root    if [ $(date +\%d) -le 7 ]; then #sbindir#/verify-drbd; fi