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.

21 lines
760 B

28 years ago
  1. # $OpenBSD: crontab,v 1.7 1997/08/18 06:12:51 deraadt Exp $
  2. #
  3. # /var/cron/tabs/root - root's crontab
  4. #
  5. SHELL=/bin/sh
  6. PATH=/bin:/sbin:/usr/bin:/usr/sbin
  7. HOME=/var/log
  8. #
  9. #minute hour mday month wday command
  10. #
  11. */10 * * * * /usr/libexec/atrun
  12. #
  13. # rotate log files every hour, if necessary
  14. 0 * * * * /usr/bin/newsyslog
  15. # send log file notifications, if necessary
  16. #*/1 * * * * /usr/bin/newsyslog -m
  17. #
  18. # do daily/weekly/monthly maintenance
  19. 30 1 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "`/bin/hostname` daily output" root
  20. 30 3 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "`/bin/hostname` weekly output" root
  21. 30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "`/bin/hostname` monthly output" root