Reputation: 41
I want to create cron jab that will run on every month on second tuesday. I created a cron job but I am not sure it is correct. Kinldy help me.
* 0 * */1 2 test.sh
Upvotes: 2
Views: 581
Reputation: 29
pretty simple solution:
30 10 8-14 * 2
This is going to run the scripts only once per month on the second Tuesday of that month at 10:30 AM. Should run for any cron and Jenkins "Build periodically" option as well.
Upvotes: 2