Hey all.
I'm new to automations. I want to run an automation on a specific date 15 March every year (regardless of the day of the week) .
I think I will need to use a cron expression but it comes up with an (Unexpected end of expression) What have I missed?
30 8 15 3 *
In my head it should return 8:30am on the 15 March in any year.
Thanks for your help :)
Hi @Sonja Altmann, you might try this:
0 30 8 15 3 ?
It should be accepted by Automation "cron checker".
In this article cron in Jira is explained, and it contains this table
Seconds (in front) needs to be specified. In the document I linked to there are some examples, like this one
Which is close to your requirements. Trying this example throws a more descriptive error though, as you see here
Using instead this "0 0 1 1,15 * ?" gives no error for that example.
TimK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Sonja Altmann
You can find a variety of cron generating web pages to help you construct the expression. Here is one such page:
https://www.freeformatter.com/cron-expression-generator-quartz.html
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.