aboutsummaryrefslogtreecommitdiff
path: root/files/etc/cron.d/zfs.freebsd
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-22 22:01:49 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-22 22:01:49 -0400
commitf9301e0fe52313581920026a186955c78fcbe831 (patch)
tree9a9d8ea8df1bbf2e5d1253d2398ad469acd96b12 /files/etc/cron.d/zfs.freebsd
parent39358af4e65a0bcd193797ac5003b0adc9b4225b (diff)
downloadinfrastructure-f9301e0fe52313581920026a186955c78fcbe831.tar.gz
zfs autosnapshots, syncthing, pam cleanup
Diffstat (limited to 'files/etc/cron.d/zfs.freebsd')
-rw-r--r--files/etc/cron.d/zfs.freebsd2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/etc/cron.d/zfs.freebsd b/files/etc/cron.d/zfs.freebsd
new file mode 100644
index 0000000..477f1df
--- /dev/null
+++ b/files/etc/cron.d/zfs.freebsd
@@ -0,0 +1,2 @@
+@weekly root zpool list -Ho name | xargs -r -n1 zpool trim
+@monthly root zpool list -Ho name | xargs -r zpool scrub