Site Tools


linux:general:crontab

This is an old revision of the document!


Cron

What is Cron/ Crontab/ Cronjob?

How to edit a cron

For global use, edit “/etc/cron.d/general”
For a specific user, execute “crontab -e” with that user.

 ┌───────────── minute (0 - 59)
 │ ┌───────────── hour (0 - 23)
 │ │ ┌───────────── day of month (1 - 31)
 │ │ │ ┌───────────── month (1 - 12)
 │ │ │ │ ┌───────────── day of week (0 - 6) (Sunday to Saturday;
 │ │ │ │ │                                       7 is also Sunday)
 │ │ │ │ │
 │ │ │ │ │
 * * * * *  command to execute

linux/general/crontab.1545324139.txt.gz · Last modified: 2018/12/20 17:42 by lunetikk