diff --git a/PATH-Notes.md b/PATH-Notes.md new file mode 100644 index 0000000..d8983ac --- /dev/null +++ b/PATH-Notes.md @@ -0,0 +1,21 @@ +**Problem:** + +Cron mail sends this error: + +`Subject: Cron zfs-auto-snapshot -q -g --label=frequent --keep=4 //` + +`/bin/sh: 1: zfs-auto-snapshot: not found` + +**Solution:** + +Edit the file /etc/cron.d/zfs-auto-snapshot + +Use the following for the PATH line at the top: + +`PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin"` + + +**Related issue:** + +https://github.com/zfsonlinux/zfs-auto-snapshot/pull/44 +