First page Back Continue Last page Graphics

The crontab command

crontab [-u username] -e | -l | -r | file

-u user is the user login name; used only by root

-e edits the crontab file; created if needed

-l lists the crontab file content

-r deletes the crontab file

file submits the crontab file to the cron

daemon for placement in /var/spool/cron/usename

crontab -l

lists contents of the current user's crontab file

crontab -u allisor -e

edits the crontab file for user allisor in vi

crontab allisor.cron

submits the crontab file allisor.cron to cron

crontab -r

remove the crontab file for the current user