CRONTAB(1)

NAME
crontab - manage crontab files

SYNOPSIS
crontab [-u user] [file]
crontab [-u user] { -l, -r, -e }

DESCRIPTION
The crontab utility is used to update, delete, or display the files that cron(8) uses to schedule jobs. If invoked without options, crontab copies the specified file, or the standard input if no file is specified, into the directory that holds all the system crontabs(5).

The following options are supported:

-e  Edits a copy of the current user's crontab file, or creates an empty file to edit if their crontab does not exist. When editing is complete, the file is install as the user's crontab file.

    $EDITOR and $VISUAL determines which editor is used ( $EDITOR, then $VISUAL, and if neither of these is defined, vi)

-l  Lists the crontab file for the current user.

-r  Removes the crontab file for the current user.

-u user
    If you are logged in as the superuser, you can use -u to specify a particular user's crontab to update, delete, or list.

BUGS
If you inadvertently enter the crontab command with no arguments, you will lose your existing crontab unless you exit with a Control-C. Crontab attempts to catch this bug by refusing to overwrite a crontab with an empty one, but it's better to be safe than sorry.

FILES

@CRONDIR@
    Where cron(8) looks for crontabs.

SEE ALSO
crontab(5), cron(8).

AUTHOR
David Parsons (orc@pell.chi.il.us)