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

Can't Schedule Class

I have a schedulable class that I've been able to schedule previously.  I stopped the job today as I needed to update some parts of a related class.


All of my regression tests pass, and the class shows 100% code coverage.


However, I couldn't schedule it via the UI, it keeps returning an error stating Error: You must select an Apex class that implements the Schedulable interface.


I added some whiltespace and then deleted it from the scheduable class, then saved, and then I was able to schedule it again.


Any thoughts?

Things like that happen from time to time. Usually, a good old-fashioned "Compile all classes" will do the trick.