You need to sign in to do that
Don't have an account?
Rupali Pophaliya
Apex Scheduled jobs stopped executing unexpectedly
Hi,
We have 2 scheduled jobs which are executing hourly basis in our app. In few of our client's org, they stopped executing unexpectedly.
They are shown in Setup->Monitoring->Scheduled Jobs
But, the next scheduled run of both the jobs is null.
What can be the reason of this kind of behavior?
Thanks,
Rupali
We have 2 scheduled jobs which are executing hourly basis in our app. In few of our client's org, they stopped executing unexpectedly.
They are shown in Setup->Monitoring->Scheduled Jobs
But, the next scheduled run of both the jobs is null.
What can be the reason of this kind of behavior?
Thanks,
Rupali
https://help.salesforce.com/apex/HTViewSolution?id=000182449&language=en_US
This will happen if the orgs are running many batches in a small time frame!
You can query the AsyncApexJob object, with respect to the Apex classID. You will get to know, when the Apex class was executed. According to that you can check, if the Job was executed or not.
>>https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_asyncapexjob.htm
Regards
Pramod