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
jsunrisejsunrise 

error: Schedulable class has jobs pending or in progress - Solution Query

hi 

 

I found the solution by searching. For this error

It should delete the schedule.

But I can not delete a schedule.

I wonder if there is another way.

 

thank.

 

 

Best Answer chosen by Admin (Salesforce Developers) 
gautam_singhgautam_singh

Hi,

 

You are ought to delete the schedule for the class which you are editing. You can surely initiate the process any how through the Developer Console.



Important :

Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.

Thank You

All Answers

David SupuranDavid Supuran

You -must- deleted the scheduled job that is referencing the code or you cannot modify the related code file at all.

gautam_singhgautam_singh

Hi,

 

You are ought to delete the schedule for the class which you are editing. You can surely initiate the process any how through the Developer Console.



Important :

Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.

Thank You

This was selected as the best answer