Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Mental Block for CRON - Please Help

Michele Bazzani
Contributor
February 21, 2023

G'Day fellow Atlassians

Ever had a complete mental block for something?  You know you should be able to follow it, but just a solid block?  That would be me with Cron. 

I am pretty sure I know how to make it work for specific days, but what I am trying to do is add a label to a ticket that comes in between 1730 and 0700 M-F and all day Sat/Sun, and for the life of me I can not figure it out. Will it run on all new tickets created between those hours or only at a specified minute?

Also, I am struggling with the between 1730 and 0700 as it always seems to want to go backward from 0700 to 1730. 

Any help you can give me would be super.  I have tried many online resources, etc, and 1730 is a problem every time.

Thank you
-M

2 answers

1 accepted

0 votes
Answer accepted
Vamsi Kandala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2023

Hi @Michele Bazzani

The 'Scheduled' trigger and CRON expression is used to schedule the automation rule to run periodically in a particular frequency like every hour, day etc.  I think, it would not be useful in your case scenario.

Did you try using the automation rule with 'Issue created' trigger and checking for the issue created date whether it falls within the time frame you are looking for?

Thanks,
Vamsi

Michele Bazzani
Contributor
February 23, 2023

In the words of Robert DeNiro, You.. You're good You! That was it thank you!!!

0 votes
Kristján Geir Mathiesen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2023

G'Day @Michele Bazzani 

Have you tried using this calculator?

HTH,
KGM

Michele Bazzani
Contributor
February 22, 2023

Hi KGM,

Yes and again seem to struggle with the 1730/0700 piece and I don't think I'm getting it >.<  There are 2 things I have this mental block for lol, CRON and Chess and somehow they feel similar lol.

 

Thanks!

-M

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events