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?
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.