Scheduled tasks time/resources limit?

Hello all,

Is there a time limit for the execution of a scheduled task?

I want to make some complex operations, which involves the iteration through all the issues from Jira (aprox. 65000) and saving some data into an external database. I would like to know if such a task can successfully complete and if there is a risk to crash Jira?

2 answers

1 accepted

This widget could not be displayed.
Richie Gee Atlassian Team Dec 26, 2013

Timothy made a point here, as long as there is no out of memory issue then it should be fine.

Just another friendly advice, try not to schedule the task at your peak hour as your database is being constantly accessed. Schedule the task to be executed on the graveyard hour and perhaps once every day/week. Do not run on every minute or 10 minute, this process will cause other scheduled task not to be executed on time and delayed.

Also ensure from your database logs, whether does it have some slow queries (taking approximate more than 100 seconds to complete). If yes, then you might encounter performance issue when the schedule task is running. You can verify that from the thread dump.

This widget could not be displayed.
Timothy Chin Community Champion Dec 16, 2013

Is there a time limit for the execution of a scheduled task?

As long as you don't run OOM, I can't see why it wont work.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

113 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you