When I edit and try to save an Apex class, I get the following message:

Compile Error: This schedulable class has jobs pending or in progress at line 11 column 8

How can I fix this?


The reason for this error is because your apex class is used under scheduler class. You need to delete your scheduler job and recreate after the compilation.

Regards. David Lirio

  • yes i do that things working fine.. if the class is scheduler class then scheduler job itself create?? Jul 28 '15 at 14:11
  • Yes, all the scheduler class generate a job after the execution. If you deleted the job, only need run the class and you will have again the job in the scheduler view. Jul 29 '15 at 6:59

To see a list of scheduled apex jobs go to Setup->Monitoring->Scheduled Jobs. This list also includes other scheduled jobs, i.e. dashboard/report freshes and analytic snapshots. You can create a list view to just scheduled Apex. The Apex Jobs monitoring section will only list @future and batch methods.

Source : Ralph Callaway answer


i got the solution. we can delete the scheduled job. because it need only run the class . and we can invoke the scheduler class in apex scheduler . that automatically generate the schedule job ..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.