From b78eb26b0267328f38c331a6718b3daa5c645c0c Mon Sep 17 00:00:00 2001 From: Scott Miller Date: Thu, 24 Dec 2015 16:11:06 -0500 Subject: [PATCH] Initial page creation --- PATH-Notes.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 PATH-Notes.md 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 +