0

I want to schedule a Jenkins job which will back up my database on alternate Saturday I am using this expression but I am confused how to find out alternate Saturdays in a month

* * * * 6
Zahid Hussain
  • 981
  • 2
  • 13
  • 28
  • you can try running on particular days of month. `10 22 1-7,15-21,29-31 * 6` – Kaushik Sep 13 '19 at 06:00
  • @Kaushik if I will use this then for each month I need to change the expression – Zahid Hussain Sep 13 '19 at 06:24
  • 1
    Possible duplicate of [I want Jenkins job to build every two weeks](https://stackoverflow.com/questions/33785196/i-want-jenkins-job-to-build-every-two-weeks) – Carlos Sep 13 '19 at 06:56
  • No, this will run on every alternate Saturday for each month. see there will be only one saturday between 1-7 and 15-21 so it will ran on those saturdays and 29-31 if there will be it will run on that. but for next month it will continue the same. So its monthly not as per your requirement. – Kaushik Sep 13 '19 at 06:57

0 Answers0