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
Madhura BMadhura B 

Scheduler class save error

Hi,

 

I am unable to edit my schedulable class. The error says - Error: Compile Error: Schedulable class has jobs pending or in progress at line 1 column 8


I have checked the Scheduled jobs and there are none scheduled for my class. 

 

Any guidance will be much appreciated!

MagulanDuraipandianMagulanDuraipandian

This error is running bcoz ur scheduled is running in background.

 

To check the Scheduled jobs in Salesforce, go to Setupu --> Administration Setup --> Monitoring --> Scheduled Jobs.

 

Delete the scheduled jobs and then try to edit.

 

Cheers...

 

Regards,

Magulan D

Salesforce.com certified Force.com Developer.

SFDC Blog

 

If this post is your solution, kindly mark this as the solution.