Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Is there a way to monitor scheduled jobs?

We have an on-premises installation of ServiceDesk that requires the ability to process incoming emails. Over the last few months, the following Scheduler Administration jobs have intermittently stopped running:

  • com.atlassian.jira.internal.mail.services.MailProcessorJobRunner
  • com.atlassian.jira.internal.mail.services.MailPullerJobRunner

This causes comments sent via email not to be added and other problems. The only solution is to restart the application. We have a support ticket open with Atlassian to resolve the problem, but in the meantime, does anyone know a way to monitor those services and trigger a notification when they fail? Recommendations for add-ons or Groovy scripts welcome. (We have Scriptrunner, Extension for JSD, and JSU Automation Suite available)

Thanks,

Ron

1 answer

Hello Ron,

Did you find any way to monitor scheduled jobs?. We are having the same issue and we would like to get some kind of notification at least, so we will know when the processor has stuck.

 

Best regards,

Francisco González

Hi @Fgon87 no we never came up with anything. The problem still occurs intermittently. The only pattern we've seen is the problem is more likely to occur at times when the database is offline for maintenance. But it doesn't always happen when the database is offline and sometimes it happens when the database is online. How about you?

Hello @Ron Coulter

Our situation its different. The problem is that MailProcessorJobRunner gets stuck when trying to process some emails. These emails have lots of "Chunks" and the only solution is to go through the database and change the status of those emails to "FILTERED" so Jira ignores them and then restart Jira to restart processing.

In your cases it looks like it is enough by restarting Jira.

In both case what we need it is some notification to avoid been checking the processor every day/hour. Of course if it possible with script runner it could be so much better for us. We also have several plugins running because this is a big instance.

@Ron Coulter If you find out about any kind of notification please let us know. It would help us a lot,

Thanks,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
3.14.1
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

93 views 0 1
Read article

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