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
anil Kumaranil Kumar 

schedule apex

Hi,

How to terminate schedule jobs which are in queue in schedule apex?

Regards,
Anil
bitempressbitempress
Either  from setup-> monitoring -> jobs ->Apex jobs (most left column should have an action if the job hasn't finished)
Or from developer console/eclipse  system.abortJob( 'Apex Job ID from the most right column' );
David Catindoy 11David Catindoy 11
You can abort it to stop the execution. Another thing is you can delete the scheduled job(s) to stop it from executing everytime the cronExpression was met.