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
chrisjanning2chrisjanning2 

System.Schedule every hour, every day is not running overnight

System.schedule('GetPostDataSchedule', '0 0 * * * ?', new GetPostDataSchedule());

 

It runs every hour up to 11 PM at which point it stops.  Any ideas?  I need it to run hourly everyday.

Best Answer chosen by Admin (Salesforce Developers) 
Jia HuJia Hu
Your Scheduler looks fine.
In the 'All Scheduled Jobs' page, after one job is finished, it will show the next start time at 'Next Scheduled Run'.

So after your 11 PM job, what is showed in 'Next Scheduled Run'?

I am not sure what do you mean stopped.
Is the job is not scheduled, or the job is scheduled but not really started?

All Answers

Jia HuJia Hu
Your Scheduler looks fine.
In the 'All Scheduled Jobs' page, after one job is finished, it will show the next start time at 'Next Scheduled Run'.

So after your 11 PM job, what is showed in 'Next Scheduled Run'?

I am not sure what do you mean stopped.
Is the job is not scheduled, or the job is scheduled but not really started?
This was selected as the best answer
chrisjanning2chrisjanning2

Disregard.  The schedule was running but I had updated my code and it was erroring out.  Thanks for the reply.