1 .\" $NetBSD: cron.8,v 1.7 2004/03/20 18:54:33 wiz Exp $
3 .\"/* Copyright 1988,1990,1993 by Paul Vixie
4 .\" * All rights reserved
6 .\" * Distribute freely, except: don't remove my name from the source or
7 .\" * documentation (don't take credit for my work), mark your changes (don't
8 .\" * get me blamed for your possible bugs), don't alter or remove this
9 .\" * notice. May be sold if buildable source is provided to buyer. No
10 .\" * warrantee of any kind, express or implied, is included with this
11 .\" * software; use at your own risk, responsibility for damages (if any) to
12 .\" * anyone resulting from the use of this software rests entirely with the
15 .\" * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
16 .\" * I'll try to keep a version up to date. I can be reached as follows:
17 .\" * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul
20 .\" Id: cron.8,v 2.2 1993/12/28 08:34:43 vixie Exp
27 .Nd daemon to execute scheduled commands (Vixie Cron)
30 .Op Fl x Ar debugflags
33 is normally started during system boot by
35 framework, if cron is switched on in
41 for crontab files which are named after accounts in
43 Crontabs found are loaded into memory.
47 which is in a different format (see
50 then wakes up every minute, examining all stored crontabs, checking each
51 command to see if it should be run in the current minute.
52 When executing commands, any output is mailed to the owner of the
53 crontab (or to the user named in the
55 environment variable in the crontab, if such exists).
63 log file with date and time details.
64 This information is useful for a number of reasons, such as
65 determining the amount of time required to run a particular job.
66 By default, root has an hourly job that rotates these log files
67 with compression to preserve disk space.
71 checks each minute to see if its spool directory's modtime (or the modtime
74 has changed, and if it has,
76 will then examine the modtime on all crontabs and reload those which have
80 need not be restarted whenever a crontab file is modified.
83 command updates the modtime of the spool directory whenever it changes a
88 flag turns on some debugging flags.
90 is comma-separated list of debugging flags to turn on.
91 If a flag is turned on,
93 writes some additional debugging information to system log during
95 Available debugging flags are:
96 .Bl -tag -width proc -compact
108 test mode - do not actually execute any commands
110 show how various bits are set (long)
112 print extended debugging information
115 .Bl -tag -width /var/cron/tabs -compact
116 .It Pa /var/cron/tabs
122 log file for cron events