I have one job that needs to be execute twice a day at different time . e.g. 10:00 and 15:30. How can i achieve this ?
I am confuse because minute is different for b
You can set values for each job:
0 10 * * * job
30 15 * * * job
Here is more info:
* * * * * command to be executed
┬ ┬ ┬ ┬ ┬
│ │ │ │ │
│ │ │ │ │
│ │ │ │ └───── day of week (0 - 7) (0 or 7 are Sunday, or use names)
│ │ │ └────────── month (1 - 12)
│ │ └─────────────── day of month (1 - 31)
│ └──────────────────── hour (0 - 23)
└───────────────────────── min (0 - 59)
Wikipage about cron https://en.wikipedia.org/wiki/Cron