aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-21 21:35:39 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-21 21:39:25 +0200
commit87e0ded55b547f35115dc83ac76db2729c043e85 (patch)
tree12df0b0f37f7d8b4152bec1abcd51facef3a74eb
parentdf95502e207d2a28d84d5c075571ce704c9a0e72 (diff)
downloadlbsd-87e0ded55b547f35115dc83ac76db2729c043e85.tar.gz
Add root crontab
-rw-r--r--var/cron/tabs/root19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/cron/tabs/root b/var/cron/tabs/root
new file mode 100644
index 0000000..3c1024a
--- /dev/null
+++ b/var/cron/tabs/root
@@ -0,0 +1,19 @@
+# DO NOT EDIT THIS FILE - edit the master and reinstall.
+# (/tmp/crontab.OldKDfr000 installed on Wed Jul 21 21:39:15 2021)
+# (Cron version V5.0 -- $NetBSD: crontab.c,v 1.15 2018/03/06 21:21:27 htodd Exp $)
+#
+SHELL=/bin/sh
+PATH=/bin:/sbin:/usr/bin:/usr/sbin
+HOME=/var/log
+CRON_WITHIN=7200
+#
+#minute hour mday month wday command
+#
+*/10 * * * * /usr/libexec/atrun
+#
+# rotate log files every hour, if necessary
+0 * * * * /usr/bin/newsyslog
+# do daily/weekly/monthly maintenance
+15 4 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | sendmail -t
+30 5 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | sendmail -t
+30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | sendmail -t