mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-11 21:59:20 +02:00
Initial page creation
21
PATH-Notes.md
Normal file
21
PATH-Notes.md
Normal file
@ -0,0 +1,21 @@
|
||||
**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
|
||||
|
Reference in New Issue
Block a user