Crontab Every 3 Hours Code Example


Example 1: cron every 3 hours


0 */3 * * *

Example 2: crontab every 30 minutes between hours


// from 08h to 17h (until 17:30)
*/30 8-17 * * *

// from 08h to 17h, at number '5' (until 17:35)
5,30 8-17 * * *

Example 3: cron every two hours


0 */2 * * *

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy