Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
648 B

  1. # /var/cron/tabs/root - root's crontab for NetBSD
  2. # $Id: crontab,v 1.1.1.1 1995/10/18 08:37:56 deraadt Exp $
  3. #
  4. SHELL=/bin/sh
  5. PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
  6. HOME=/var/log
  7. #
  8. #minute hour mday month wday command
  9. #
  10. 0-59/10 * * * * /usr/libexec/atrun
  11. #
  12. # rotate log files every hour, if necessary
  13. 0 * * * * /usr/bin/newsyslog
  14. #
  15. # do daily/weekly/monthly maintenance
  16. 0 2 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "daily output" root
  17. 30 3 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "weekly output" root
  18. 30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "monthly output" root