Hi,
I have a custom scheduled job created in Scriptrunner that executes every 15 minutes.
The problem is that sometimes is stops without any reason and will not run even if the scheduler reports that is running.
It doesn't help to re-create the job, the only thing so far we discovered is to restart Jira.
Jira internal scheduler administration reports:
Run modeonce per cluster
Schedule15 */15 * * * ?
Last run
Last run duration
Next runWed Jun 09 11:00:00 CEST 2021
Message
The thing is that it never run at 11:00:00 and no message either.
Is there a way to find the scheduled job/process/etc in order to figure out whats happened with it?!.. or somethings else.
Thanks!
Are you seeing any other degradation of service? Have you checked logs to see if there are any hints there that might help? Are threads getting stuck or are you running out of memory? Is the job completing before the next one runs?
No degradation besides that the scheduled job stops and never executes again, it works again after reboot.
None out of memory or no hints in the logs.
Yes, the job is completed, and that can easily be verified to the log output from the script.
Might have found a Bug that are similar to the fault that we are experiencing: JRASERVER-62072
We now have a workaround for this in order to bypass Jira internal scheduler.
Created a REST endpoint and schedule the job outside Jira instead.
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.