crontab [options]Arguments explained
- -e edits your crontab.
- -l lists your crontab.
- -r removes your crontab.
- -u chooses a user when run as root.
Common examples
crontab -eOpens your user crontab in an editor.
30 2 * * * /home/alex/bin/backup.shA crontab line for a daily scheduled script.
| Field | Details |
|---|---|
| Command | crontab |
| Category | Jobs and Background Execution |
| Primary use | Edits per-user cron schedules. |
| Syntax | crontab [options] |