aboutsummaryrefslogtreecommitdiff
path: root/files/etc/cron.d
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/cron.d')
-rw-r--r--files/etc/cron.d/poudriere.pkg_server1
-rw-r--r--files/etc/cron.d/zfs-trim.freebsd4
2 files changed, 2 insertions, 3 deletions
diff --git a/files/etc/cron.d/poudriere.pkg_server b/files/etc/cron.d/poudriere.pkg_server
new file mode 100644
index 0000000..57d9dac
--- /dev/null
+++ b/files/etc/cron.d/poudriere.pkg_server
@@ -0,0 +1 @@
+@weekly root lockf -t 0 /tmp/poudriere-cron.lock /usr/local/libexec/poudriere-cron $(echo "$poudriere_versions" | tr . _)
diff --git a/files/etc/cron.d/zfs-trim.freebsd b/files/etc/cron.d/zfs-trim.freebsd
index 64b07b9..80e0cd5 100644
--- a/files/etc/cron.d/zfs-trim.freebsd
+++ b/files/etc/cron.d/zfs-trim.freebsd
@@ -1,3 +1 @@
-SHELL=/bin/sh
-PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
-@weekly root zfs list -Ho name | xargs -r -n1 zpool trim
+@weekly root zpool list -Ho name | xargs -r -n1 zpool trim