You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
how can I write a cron expression for:
Every first day of a quater ?
The purpose is to create an Automation rule, where issues older than 3 years must be deleted, sheduled every first day of a quater (1 Jan, 1 Apr, 1 Jul, 1 Oct). It also need to send email, that this deletion will ocurre (one week before the deletion).
Thank you!
Hello Urszula,
A crontab entry for the first day of every quarter:
0 0 1 */3 *
source: https://crontab.guru/every-quarter
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, it needs "?" on the end of the crone expression - that means, that the day of week (Mon, Tue...) doesn't matter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Urszula Forenc Hi Urszula! Did that expression work?
I'm also using Automation for JIRA... but the expression above seems to be missing a leading "0" (since per JIRA documentation, the seconds part of the string is required).
I'm building a quarterly automation, and this is what I've come up with....
0 0 0 15 */3 ?
which in theory should next run July 15th 2019.
Let me know if the extra zero wasn't necessary! Thanks :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rosa,
I use it: 0 0 1 */3 * ?
I've found very usefull website: cronmaker.com - you can test there your crones.
BR
Urszula
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.