user862412
user862412

Reputation:

Can't understand cron-job time

I have something like this 0,30 * * * * /some/command, I am not sure, is this executed every 30 minutes ?

Upvotes: 1

Views: 74

Answers (1)

diolemo
diolemo

Reputation: 2661

Yes, the command would be executed every 30 minutes.

0,30      <---------------    execute at 0 minutes and 30 minutes into the hour. 
*         <---------------    every hour in the day
*         <---------------    every day of the month
*         <---------------    every month
*         <---------------    every day of the week

https://en.wikipedia.org/wiki/Cron

Upvotes: 2

Related Questions