I must suck at cron jobs, because every system I have ever touched has never had working cron jobs. I basically want a cron job to take a recursive zfs snapshot of zroot every day at 2:00AM, but so far this hasn't happened. I edited the /etc/crontab file and added a line for creating and one for destroying old snapshots later at 2:05AM, here's what it looks like:
Could someone tell me what's missing? This doesn't seem wrong to me
Code:
# Daily ZAP snapshots
0 2 * * * root zap snap 3w -r zroot
5 2 * * * root zap destroy
Could someone tell me what's missing? This doesn't seem wrong to me