Semi-annual automation in a project
Asked by Stefan Speck:

Hello dear community,

I have a question regarding automations in a project. Unfortunately, I can only find the setting that allows you to set weekly or monthly automations.

I would like to set a semi-annual automation for a customer. This means once on January 1st and once on July 1st of a year. How exactly do I set this up?

Best regards


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Stefan Speck](/t5/user/viewprofilepage/user-id/5102345)

you can use cron expressions for complex schedules. I used this Cron expression builder: [Free Online Cron Expression Generator and Describer - FreeFormatter.com](https://www.freeformatter.com/cron-expression-generator-quartz.html)

0 0 1 1 JAN,JUL ? \* {#toc-hId--381943120}
------------------------------------------

This will execute on the 1st of Jan and Jul every year at 1 am.

comments: author: Stefan Speck
body: [@Rebekka Heilmann _viadee_](/t5/user/viewprofilepage/user-id/5182395) Super, thank you very much. That has helped me a lot.


author: Dan Breyen
body: Hi Stephan, if you use the 'Scheduled' for 'When' in your Automation, and then click on the 'Advanced' tab, you can use a Cron expression to identify the dates/times for your Automation.

I found this [Cron Expression Generator](https://freeformatter.com/cron-expression-generator-quartz.html) website and based on that, I figured out this expression: 0 0 9 1 JAN,JUL ? \*

That should run your Automation at 9:00 on the 1st day of January and July

Hope that helps

comments: author: Stefan Speck
body: Hi [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375) , Super, thank you very much. That has helped me a lot.


author: Bhanu KN
body: Hi [@Stefan Speck](/t5/user/viewprofilepage/user-id/5102345)

Hope you are doing well. You could use the following options in automation to achieve the needed.

Let me know it helps : )

![Screenshot 2024-03-20 173241.png](https://community.atlassian.com/t5/image/serverpage/image-id/313287i5B34B8B0A5415B4E/image-dimensions/237x288?v=v2 "Screenshot 2024-03-20 173241.png")

comments: author: Dan Breyen
body: [@Bhanu KN](/t5/user/viewprofilepage/user-id/4763749) , I'm curious, would you need to set that up in July or January to get the six months to start in a particular month?


author: Bhanu KN
body: [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375) Was just showing a simpler way though not ideal. They will have to set it up in June. However, even a complete newbie will be able to understand what the rule does, unlike CRON.

[@Stefan Speck](/t5/user/viewprofilepage/user-id/5102345) , I hope I was able to assist a little. Please accept the answer if it was of any help:)

It helps me grow in the community.

Cheers:)

Bhanu


author: Rebekka Heilmann _viadee_
body: [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375) according to the Screenshot, yes. Currently it would run in March and September.

So Cron Expression is the best way to go like you and I suggested.


author: Stefan Speck
body: [@Rebekka Heilmann _viadee_](/t5/user/viewprofilepage/user-id/5182395) [@Bhanu KN](/t5/user/viewprofilepage/user-id/4763749) [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375)   

Thank you very much!!!


Tags: cloud

jira-service-management

jira-service-management-cloud