We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Problem:
Cron mail sends this error:
Subject: Cron <root@host> 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