OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / cron / original / man8 / cron.8
1 .\"/* Copyright 1988,1990,1993 by Paul Vixie
2 .\" * All rights reserved
3 .\" *
4 .\" * Distribute freely, except: don't remove my name from the source or
5 .\" * documentation (don't take credit for my work), mark your changes (don't
6 .\" * get me blamed for your possible bugs), don't alter or remove this
7 .\" * notice.  May be sold if buildable source is provided to buyer.  No
8 .\" * warrantee of any kind, express or implied, is included with this
9 .\" * software; use at your own risk, responsibility for damages (if any) to
10 .\" * anyone resulting from the use of this software rests entirely with the
11 .\" * user.
12 .\" *
13 .\" * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
14 .\" * I'll try to keep a version up to date.  I can be reached as follows:
15 .\" * Paul Vixie          <paul@vix.com>          uunet!decwrl!vixie!paul
16 .\" */
17 .\" 
18 .\" $Id: cron.8,v 2.2 1993/12/28 08:34:43 vixie Exp $
19 .\" 
20 .TH CRON 8 "20 December 1993"
21 .UC 4
22 .SH NAME
23 cron \- daemon to execute scheduled commands (Vixie Cron)
24 .SH SYNOPSIS
25 cron
26 .SH DESCRIPTION
27 .I Cron
28 should be started from /etc/rc or /etc/rc.local.  It will return immediately,
29 so you don't need to start it with '&'.
30 .PP
31 .I Cron
32 searches /var/cron/tabs for crontab files which are named after accounts in
33 /etc/passwd; crontabs found are loaded into memory.
34 .I Cron
35 also searches for /etc/crontab which is in a different format (see
36 .IR crontab(5)).
37 .I Cron
38 then wakes up every minute, examining all stored crontabs, checking each
39 command to see if it should be run in the current minute.  When executing
40 commands, any output is mailed to the owner of the crontab (or to the user
41 named in the MAILTO environment variable in the crontab, if such exists).
42 .PP
43 Additionally,
44 .I cron
45 checks each minute to see if its spool directory's modtime (or the modtime
46 on
47 .IR /etc/crontab)
48 has changed, and if it has,
49 .I cron
50 will then examine the modtime on all crontabs and reload those which have
51 changed.  Thus
52 .I cron
53 need not be restarted whenever a crontab file is modified.  Note that the
54 .IR Crontab (1)
55 command updates the modtime of the spool directory whenever it changes a
56 crontab.
57 .SH "SEE ALSO"
58 crontab(1), crontab(5)
59 .SH AUTHOR
60 .nf
61 Paul Vixie <paul@vix.com>