Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Script runner failed to execute timing tasks according to cron expression

Hi everyone:

I have a problem when using script runner timing tasks. The cron expression I set is : 0 0 14 ? * *  ; But it is not executed at 2pm, the next execution time displayed on the interface is 10pm,I have updated the settings. what's the reason of it?

Please help me analyze the problem。

Thanks.

tu_151751147177.pngtu_151751336224.png

2 answers

2 accepted

3 votes
Answer accepted
Charlie Misonne Community Leader May 17, 2021

Hi Alex,

Welcome to the Atlassian community!

Any chance your server's timezone is different from your computer's time zone?
I'm quite sure ScriptRunner will use the server's clock to schedule scripts.

Hi @Charlie Misonne 

Thanks for your answer.

The initial default user time zone of the JIRA system is UTC. When I found that the scheduled task was not executed according to the cron expression, I tried to find the problem. So I changed the time zone to GMT+08:00 and it finally worked.

So as you said is the server time zone issue.

Thanks.

Best Regards.

Charlie Misonne Community Leader May 18, 2021

Hi Alex, glad you sorted it out!

2 votes
Answer accepted

Time zone issues

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you