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
SabrentSabrent 

Schedulable class has jobs pending or in progress.

I am trying to save an Apex Class from IDE, however keep getting this error

Schedulable class has jobs pending or in progress.

How or where to find the jobs pending/ in progress for this class?

sbbsbb

Administration Setup --> Monitoring --> Scheduled Jobs.

 

You need to delete the scheduled job before you can make changes to the class. After you are done making the changes, you can go back and reschedule it.

SabrentSabrent

Thanks for the workaround. When deploying to Production, I bet this this not going to be fun.

Jacob_A_HancockJacob_A_Hancock

Deploying through a change set instead of through the IDE usually gets me around this error without having to delete the scheduled jobs.  I sometimes see this error when deploying batch classes through the IDE even though they don't even have a scheduled job or Schedulable class that calls them.