Crontab
noun
say it: “KRON-tab” /ˈkrɑntæb/
A user's list of jobs for cron to run on a schedule, one per line: when to run, then the command.
What is a crontab?
A crontab ("cron table") is your list of jobs for cron to run on a schedule, one line each: when, then what. crontab -e opens it in an editor, and crontab -l lists it. Use full paths in it, and send each job's output to a log file.
crontab -l
# 0 18 * * * /home/sam/terminal-practice/school/backup.sh >> /home/sam/backup.log 2>&1
In a sentence
- “crontab -l lists every line of your crontab.”
- “Sam added the nightly backup to her crontab with crontab -e.”
Level: Journeyman · More Unix terms at this level
Updated