+ Start a Discussion

Want to Stop running Schedule using Apex class

i nave a schedule which is running.

Now i Want to Stop running Schedule using Apex class.


Any idea???




Siddharth Birari.ax1164Siddharth Birari.ax1164


System.abortJob method, which will take the paramter as 'jobId'.


if you are making a batch call in the scheduler logic, then it is advisable to use system.abortjob after making call to batch or call it at the end.


Anil MeghnathiAnil Meghnathi

Thanks Siddharth  

for you kind help