User Tools

Site Tools


run_a_cron_job_every_10_minutes

Differences

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

Link to this comparison view

Next revision
Previous revision
run_a_cron_job_every_10_minutes [2018/12/06 21:05] – created 91.177.234.129run_a_cron_job_every_10_minutes [2019/01/30 11:32] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Run_a_cron_job_every_10_minutes ====== +==== Layout of crontab ==== 
- +<code> 
-=====Layout of crontab===== +  -  +---------------- minute (- 59) 
-<code>0@@</code>+  -  |  +------------- hour (0 - 23) 
 +  -  |  |  +---------- day of month (1 - 31) 
 +  -  |  |  |  +------- month (1 - 12) 
 +  -  |  |  |  |  +---- day of week (0 - 6) (Sunday=0 or 7) 
 +  -  |  |  |  |  | 
 +  *  *  *  *  *  /path/to/command 
 +</code>
  
 To get cron to run a task every 10 minutes, some Unix's allow this: To get cron to run a task every 10 minutes, some Unix's allow this:
 +<code>
  */10 * * * * /path/to/command  */10 * * * * /path/to/command
 +
run_a_cron_job_every_10_minutes.1544130327.txt.gz · Last modified: 2018/12/06 21:05 by 91.177.234.129

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki