diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-21 21:40:16 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-21 21:42:22 +0200 |
commit | 58a28dc1157107c74bc03b7558f57c5732299960 (patch) | |
tree | 48e89613e87a88dd24ecae6181a4e3872422a871 /usr | |
parent | 87e0ded55b547f35115dc83ac76db2729c043e85 (diff) | |
download | lbsd-58a28dc1157107c74bc03b7558f57c5732299960.tar.gz |
Move daily, weekly, monthly jobs to anacrontab
Diffstat (limited to 'usr')
-rw-r--r-- | usr/pkg/etc/anacrontab | 15 |
1 files changed, 15 insertions, 0 deletions
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 |