function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ranjith Kumar 229Ranjith Kumar 229 

Schedule job Unexpectedly stopped working

Hi,  
We have a Schedule job which is running for every 5 minutes. And Sometimes the job is being stopped unexpectedly, the entire functionality depends on this job only. So i want to know what are the causes for the Schedule job being stopped.

Please help me on this.

Thank you.
ANUTEJANUTEJ (Salesforce Developers) 
Hi Ranjit,

Did you check the error that you might be getting?.

Can you please check the below link which states the details of where to find the jobs.

>> https://help.salesforce.com/articleView?id=code_apex_job.htm&type=5

>> https://help.salesforce.com/articleView?id=data_monitoring_jobs.htm&type=5

Hope this helps and please close the thread marking a best answer so that other users can find it in the future and it would also keep the community clean.

Regards,
Anutej
sachinarorasfsachinarorasf
Hi Ranjith,

I have gone through your problem.

I think you have faced Governor limits issue.

Here are the links please go through it.
1.https://www.tutorialkart.com/learn_apex/governor-limits-and-scope-in-batch-apex/  
2.https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_gov_limits.htm  

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Sachin Arora