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
West415West415 

Scheduled Job stops being scheduled randomly?

Hi,

We have a scheduled batch apex job that will run every hour and do some processing on records.  It works fine, but sometimes it will just no longer be scheduled and then we go in and start it again and it will work for maybe a week, sometimes two weeks, then it just stops.  

Has anyone seen this behavior before or know of any reason why a scheduled job would suddenly stop being scheduled?

Thanks for any thoughts here...
Pankaj_GanwaniPankaj_Ganwani
Hi,

Scheduled jobs are always run in context of the user who scheduled it. If the user has been deactivated then the schedule job will stop working. Can you please make sure that the context user is not deactivated when job is running?
West415West415
Yes, the user is me, so it's definitely an active account.