User Tools

Site Tools


ubuntu:cron

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:cron [2020/07/15 09:30] – external edit 127.0.0.1ubuntu:cron [2021/07/05 21:53] (current) – [Cron] peter
Line 12: Line 12:
  
 The jobs inside the crontab file are known as cron jobs, and consist of standard Linux commands.  They also contain the time-period when cron needs to execute them. The jobs inside the crontab file are known as cron jobs, and consist of standard Linux commands.  They also contain the time-period when cron needs to execute them.
 +
 +<code bash>
 + ┌───────────── minute (0 - 59)
 + │ ┌───────────── hour (0 - 23)
 + │ │ ┌───────────── day of the month (1 - 31)
 + │ │ │ ┌───────────── month (1 - 12)
 + │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;
 + │ │ │ │ │                                   7 is also Sunday on some systems)
 + │ │ │ │ │
 + │ │ │ │ │
 + * * * * * <command to execute>
 +</code>
  
 {{:ubuntu:crontab-structure.jpg?800|}} {{:ubuntu:crontab-structure.jpg?800|}}
ubuntu/cron.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki