From 58a28dc1157107c74bc03b7558f57c5732299960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 21 Jul 2021 21:40:16 +0200 Subject: Move daily, weekly, monthly jobs to anacrontab --- usr/pkg/etc/anacrontab | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 usr/pkg/etc/anacrontab (limited to 'usr/pkg') diff --git a/usr/pkg/etc/anacrontab b/usr/pkg/etc/anacrontab new file mode 100644 index 0000000..ac928ef --- /dev/null +++ b/usr/pkg/etc/anacrontab @@ -0,0 +1,15 @@ +# $NetBSD: anacrontab.NetBSD,v 1.2 2007/07/02 08:40:39 joerg Exp $ +# +# anacrontab - Configuration file for NetBSD. +# +# See anacrontab(5) and anacron(8) for more information. +# + +SHELL=/bin/sh +PATH=/bin:/sbin:/usr/bin:/usr/sbin +HOME=/var/log + +#days delay id command +1 5 daily /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | sendmail -t +7 15 weekly /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | sendmail -t +30 30 monthly /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | sendmail -t -- cgit v1.2.3