aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/cron/cron.d
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-04-14 22:32:43 +0200
committerLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-04-14 22:32:43 +0200
commit83f7fe4b8402bab171d110703a1b1115efbc9b28 (patch)
tree19110702c7d740f6bd8ee4f5d2ebcb97442be237 /straper/db/public/cron/cron.d
parent51d43498b07dc97d795947964534f0903cd05db5 (diff)
downloadbin-83f7fe4b8402bab171d110703a1b1115efbc9b28.tar.gz
bin-83f7fe4b8402bab171d110703a1b1115efbc9b28.zip
cleaned up many scrits and deleted some that were of no use; renamed a lot
Diffstat (limited to 'straper/db/public/cron/cron.d')
-rw-r--r--straper/db/public/cron/cron.d/.placeholder2
-rw-r--r--straper/db/public/cron/cron.d/anacron6
-rw-r--r--straper/db/public/cron/cron.d/certbot17
-rw-r--r--straper/db/public/cron/cron.d/e2scrub_all2
-rw-r--r--straper/db/public/cron/cron.d/zfs-auto-snapshot3
-rw-r--r--straper/db/public/cron/cron.d/zfsutils-linux7
6 files changed, 0 insertions, 37 deletions
diff --git a/straper/db/public/cron/cron.d/.placeholder b/straper/db/public/cron/cron.d/.placeholder
deleted file mode 100644
index 76cb8d0..0000000
--- a/straper/db/public/cron/cron.d/.placeholder
+++ /dev/null
@@ -1,2 +0,0 @@
-# DO NOT EDIT OR REMOVE
-# This file is a simple placeholder to keep dpkg from removing this directory
diff --git a/straper/db/public/cron/cron.d/anacron b/straper/db/public/cron/cron.d/anacron
deleted file mode 100644
index 57b33c5..0000000
--- a/straper/db/public/cron/cron.d/anacron
+++ /dev/null
@@ -1,6 +0,0 @@
-# /etc/cron.d/anacron: crontab entries for the anacron package
-
-SHELL=/bin/sh
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-30 7-23 * * * root if [ -x /etc/init.d/anacron ] && ! [ -d /run/systemd/system ]; then exec /usr/sbin/invoke-rc.d anacron start >/dev/null; fi
diff --git a/straper/db/public/cron/cron.d/certbot b/straper/db/public/cron/cron.d/certbot
deleted file mode 100644
index cac009f..0000000
--- a/straper/db/public/cron/cron.d/certbot
+++ /dev/null
@@ -1,17 +0,0 @@
-# /etc/cron.d/certbot: crontab entries for the certbot package
-#
-# Upstream recommends attempting renewal twice a day
-#
-# Eventually, this will be an opportunity to validate certificates
-# haven't been revoked, etc. Renewal will only occur if expiration
-# is within 30 days.
-#
-# Important Note! This cronjob will NOT be executed if you are
-# running systemd as your init system. If you are running systemd,
-# the cronjob.timer function takes precedence over this cronjob. For
-# more details, see the systemd.timer manpage, or use systemctl show
-# certbot.timer.
-SHELL=/bin/sh
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew --no-random-sleep-on-renew
diff --git a/straper/db/public/cron/cron.d/e2scrub_all b/straper/db/public/cron/cron.d/e2scrub_all
deleted file mode 100644
index 7af25f1..0000000
--- a/straper/db/public/cron/cron.d/e2scrub_all
+++ /dev/null
@@ -1,2 +0,0 @@
-30 3 * * 0 root test -e /run/systemd/system || SERVICE_MODE=1 /usr/libexec/e2fsprogs/e2scrub_all_cron
-10 3 * * * root test -e /run/systemd/system || SERVICE_MODE=1 /sbin/e2scrub_all -A -r
diff --git a/straper/db/public/cron/cron.d/zfs-auto-snapshot b/straper/db/public/cron/cron.d/zfs-auto-snapshot
deleted file mode 100644
index 613afc9..0000000
--- a/straper/db/public/cron/cron.d/zfs-auto-snapshot
+++ /dev/null
@@ -1,3 +0,0 @@
-PATH="/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
-
-*/15 * * * * root which zfs-auto-snapshot > /dev/null || exit 0 ; zfs-auto-snapshot --quiet --syslog --label=frequent --keep=4 //
diff --git a/straper/db/public/cron/cron.d/zfsutils-linux b/straper/db/public/cron/cron.d/zfsutils-linux
deleted file mode 100644
index 4c0d373..0000000
--- a/straper/db/public/cron/cron.d/zfsutils-linux
+++ /dev/null
@@ -1,7 +0,0 @@
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-# TRIM the first Sunday of every month.
-24 0 1-7 * * root if [ $(date +\%w) -eq 0 ] && [ -x /usr/lib/zfs-linux/trim ]; then /usr/lib/zfs-linux/trim; fi
-
-# Scrub the second Sunday of every month.
-24 0 8-14 * * root if [ $(date +\%w) -eq 0 ] && [ -x /usr/lib/zfs-linux/scrub ]; then /usr/lib/zfs-linux/scrub; fi