+ Start a Discussion
Sunil PalSunil Pal 

Regarding the scheduler class

If we want to stop the batch of an object, .If we delete the schedule jobs then it will permanently deleted or temporary.

If we want to permanently stop the batch ,what we have to do except delete the batch class?


Thanks in advance

What do you mean by permanently stopping? If it is no longer scheduled, it won't run. If someone schedules it again, it will run when scheduled.

if you delete Schedule Jobs then it will not parmanent stopping bath execution you need to abort BatchProcessId which is return by follwing statement: Database.executeBatch method. 


Sunil PalSunil Pal
Can you please give detail process with example how i will stop batch execution or stop batch