The Scheduler is a very helpful app I rely on to automatically create pre-populated issues in Jira for repeating tasks.
I have hit a wall trying to find a cron expression that will work to set up either a task that will run on:
I have been using https://crontab.guru/every-quarter but this offers non-standard options that are not accepted in The Schedluer.
Any suggestions?
Hi Kat,
You can try some other cron makers to generate some advanced cron expressions, like this one: http://www.cronmaker.com/
A. first Wednesday of every third month:
0 0 12 ? 1/3 WED#1 * |
Results in:
1. | Wednesday, April 1, 2020 12:00 PM |
2. | Wednesday, July 1, 2020 12:00 PM |
3. | Wednesday, October 7, 2020 12:00 PM |
4. | Wednesday, January 6, 2021 12:00 PM |
5. | Wednesday, April 7, 2021 12:00 PM |
B. first day of every third month:
0 0 1 1 */3 ? |
Results in:
1. | Wednesday, April 1, 2020 1:00 AM |
2. | Wednesday, July 1, 2020 1:00 AM |
3. | Thursday, October 1, 2020 1:00 AM |
4. | Friday, January 1, 2021 1:00 AM |
5. | Thursday, April 1, 2021 1:00 AM |
C. first day of a specific month annually:
0 0 12 1 2 ? * |
Results in:
1. | Saturday, February 1, 2020 12:00 PM |
2. | Monday, February 1, 2021 12:00 PM |
3. | Tuesday, February 1, 2022 12:00 PM |
4. | Wednesday, February 1, 2023 12:00 PM |
5. | Thursday, February 1, 2024 12:00 PM |
Cheers,
Łukasz
Thanks so much. I was able to achieve what I want with:
0 0 12 ? 3/3 WED#1 *
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.