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

0 vote
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.

0 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

581 views 6 12
Read article

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