Skip to main content
Dave Farrar が「#Apex」で質問
Hello,

We have an email that goes off nightly to all of our clients. The email has been running fine for the last 2 years and all of a sudden on 12/8/16 the emails stopped being sent. To my knowledge noone has changed naything within the Scheudle APEX Job... Can anyone help with getting this nightly email back up and running?

As you can see everythign executed fine at the beginning of the week now it does not function properlyAPEX Scheduled job Stopped
1 件の回答
  1. 2016年12月13日 18:35
    Hi Dave,

    I suggest few of the TO-DO things to trouble shoot this situation:

    1. See debug log for this event, you will definitly get the root cause of why the batch has been failed [Under setup > Debug log , set monitoring user and run batch].

    2. Delete the existing schedules and create new scheduled job with same schedule.

    3. Lastly you can query the ApexJobs and see the error

     

    Select ApexClassID, ExtendedStatus, NumberOfErrors, TotalJobItems, Status, NumberOfErrors, JobItemsProcessed, ApexClassID From AsyncApexJob where Id = '70700....'

    You can get the job Id from screenshot u provided and can see results in ExtendedStatus field

    Thanks

    If you're satisfied with the answers provided, please don't forget to select a Best Answer.