1CRONTAB(1)                  General Commands Manual                 CRONTAB(1)
2
3
4

NAME

6       crontab - maintain crontab files for individual users (ISC Cron V4.1)
7

SYNOPSIS

9       crontab [-u user] file
10       crontab [-u user] [-l | -r | -e] [-i] [-s]
11

DESCRIPTION

13       Crontab  is  the  program used to install, deinstall or list the tables
14       used to drive the cron(8) daemon in ISC Cron.  Each user can have their
15       own  crontab,  and though these are files in /var/spool/ , they are not
16       intended to be edited directly. For SELinux in mls  mode  can  be  even
17       more crontabs - for each range. For more see selinux(8).
18
19       If the cron.allow file exists, then you must be listed therein in order
20       to be allowed to use this command.  If the  cron.allow  file  does  not
21       exist but the cron.deny file does exist, then you must not be listed in
22       the cron.deny file in order to use this command.  If neither  of  these
23       files exists, only the super user will be allowed to use this command.
24

OPTIONS

26       -u     It  specifies  the  name  of  the  user  whose  crontab is to be
27              tweaked.  If this option is not given, crontab  examines  "your"
28              crontab,  i.e., the crontab of the person executing the command.
29              Note that su(8) can confuse crontab and that if you are  running
30              inside of su(8) you should always use the -u option for safety's
31              sake.  The first form of this command is used to install  a  new
32              crontab  from  some  named file or standard input if the pseudo-
33              filename "-" is given.
34
35       -l     The current crontab will be displayed on standard output.
36
37       -r     The current crontab will be be removed.
38
39       -e     This option is used to edit the current crontab using the editor
40              specified  by the VISUAL or EDITOR environment variables.  After
41              you exit from the editor, the modified crontab will be installed
42              automatically.
43
44       -i     This  option  modifies  the  -r  option to prompt the user for a
45              'y/Y' response before actually removing the crontab.
46
47       -s     It will append the current SELinux security context string as an
48              MLS_LEVEL  setting to the crontab file before editing / replaceā€
49              ment occurs - see the documentation of MLS_LEVEL in crontab(5).
50

SEE ALSO

52       crontab(5), cron(8)
53

FILES

55       /etc/cron.allow
56       /etc/cron.deny
57

STANDARDS

59       The crontab command conforms to IEEE Std1003.2-1992 (``POSIX'').   This
60       new  command  syntax  differs  from previous versions of Vixie Cron, as
61       well as from the classic SVR3 syntax.
62

DIAGNOSTICS

64       A fairly informative usage message appears if you run  it  with  a  bad
65       command line.
66

AUTHOR

68       Paul Vixie <vixie@isc.org>
69
70
71
724th Berkeley Distribution       16 January 2007                     CRONTAB(1)
Impressum