1 .\"/* Copyright 1988,1990,1993 by Paul Vixie
2 .\" * All rights reserved
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
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
18 .\" $FreeBSD: src/usr.sbin/cron/crontab/crontab.1,v 1.7.2.4 2002/06/21 16:40:09 charnier Exp $
25 .Nd maintain crontab files for individual users (V3)
40 utility is the program used to install, deinstall or list the tables
43 daemon in Vixie Cron. Each user can have their own crontab, and though
46 they are not intended to be edited directly.
50 file exists, then you must be listed therein in order to be allowed to use
53 file does not exist but the
55 file does exist, then you must
59 file in order to use this command. If neither of these files exists, then
60 depending on site-dependent configuration parameters, only the super user
61 will be allowed to use this command, or all users will be able to use this
63 The format of these files is one username per line,
64 with no leading or trailing whitespace.
65 Lines of other formats will be ignored,
66 and so can be used for comments.
68 The first form of this command is used to install a new crontab from some
69 named file or standard input if the pseudo-filename ``-'' is given.
71 The following options are available:
72 .Bl -tag -width indent
74 Specify the name of the user whose crontab is to be
75 tweaked. If this option is not given,
77 examines "your" crontab, i.e., the crontab of the person executing the
82 and that if you are running inside of
84 you should always use the
86 option for safety's sake.
88 Display the current crontab on standard output.
90 Remove the current crontab.
92 Edit the current crontab using the editor specified by
97 environment variables.
100 edit the file in place;
101 any editor that unlinks the file and recreates it cannot be used.
103 from the editor, the modified crontab will be installed automatically.
106 .Bl -tag -width /var/cron/allow -compact
107 .It Pa /var/cron/allow
108 .It Pa /var/cron/deny
111 A fairly informative usage message appears if you run it with a bad command
121 This new command syntax
122 differs from previous versions of Vixie Cron, as well as from the classic
125 .An Paul Vixie Aq Mt paul@vix.com