# http://crystalfaeries.net/posix/etc/cron.d/rsnapshot for fey
# celeste:crystalfaery 2019-07-29 19:12:31+00:00
# The values used correspond to those in /etc/rsnapshot.conf.

@reboot	root	/usr/local/bin/rsnapshotlimit.fey	>> /var/log/rsnapshot.log	2>&1	# daemon to keep disk from overflowing
@reboot	root	      /usr/local/bin/darlimit.fey	>> /var/log/darchive.log	2>&1	# daemon to keep disk from overflowing

#Minute	Hour	DOM	Month	DOW	user	command
00	01	*	*	*	root	/usr/local/bin/thumbnail_expire > /tmp/expire.out 2>&1 || /bin/cat /tmp/expire.out | /usr/bin/mail -s "expire errs: `hostname`" root
30	01	*	*	*	root	/usr/local/bin/cachedir_tags > /tmp/cachedirs.out 2>&1 || /bin/cat /tmp/cachedirs.out | /usr/bin/mail -s "cachedirs errs: `hostname`" root
00	02  	01	1	*	root	/usr/bin/rsnapshot yearly	# retain yearly   8
30	02  	01	*	*	root	/usr/bin/rsnapshot monthly	# retain monthly 13
00	03  	*	*	0	root	/usr/bin/rsnapshot weekly	# retain weekly   5
30	03  	*	*	*	root	/usr/bin/rsnapshot daily	# retain daily    8
00	*/6	*	*	*	root	/usr/bin/rsnapshot hourly	# retain hourly   5
00	04	*	*	0	root	/usr/local/bin/darchive >> /var/log/darchive.log 2>&1 || tail /var/log/darchive.log | /usr/bin/mail -s "darchive errs: `hostname`" root
00	07	*	*	0	root	/usr/sbin/fstrim --fstab	# trim SSD storage weekly

