source: hybrid/branches/releng-9.0/nanobsd/files/etc/crontab@ 10663

Last change on this file since 10663 was 10650, checked in by rick, 13 years ago

The routing syncer done the bad way. Should technically be an (C) daemon which
takes advantage of route monitor to instantly sync the routing changes to
the shadow routing table.

While here: add some descriptive comments for other entries.

Related-To: nodefactory#129

  • Property svn:eol-style set to LF
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1# /etc/crontab - root's crontab for FreeBSD
2#
3# $FreeBSD: src/etc/crontab,v 1.32.32.1 2008/11/25 02:59:29 kensmith Exp $
4#
5SHELL=/bin/sh
6PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
7HOME=/var/log
8#
9#minute hour mday month wday who command
10#
11*/5 * * * * root /usr/libexec/atrun
12#
13# Save some entropy so that /dev/random can re-seed on boot.
14*/11 * * * * operator /usr/libexec/save-entropy
15#
16# Rotate log files every hour, if necessary.
170 * * * * root newsyslog
18#
19# Perform daily/weekly/monthly maintenance.
201 3 * * * root periodic daily
2115 4 * * 6 root periodic weekly
2230 5 1 * * root periodic monthly
23#
24# Adjust the time zone if the CMOS clock keeps local time, as opposed to
25# UTC time. See adjkerntz(8) for details.
261,31 0-5 * * * root adjkerntz -a
27#
28# WL NanoBSD Custom Rules
29#
30# Write updates for ntp.drift to flash
310 12 * * * root /usr/local/sbin/store-ntpdrift
32#
33# Nagios checks
34*/15 * * * * root /usr/local/sbin/check-inet-alive
35# Portal maintenance
36*/5 * * * * root /usr/local/www/wlportal/index.cgi cleanup
37# Resolv optimizer
38*/15 * * * * root /tools/nameserver-shuffle cron
39# Sync ``shadow'' routing table
40*/5 * * * * root /tools/sync-fib-tables
41
Note: See TracBrowser for help on using the repository browser.