[SalesForce] Deleted scheduled jobs still appearing

I have a legacy process that has created about 2000 scheduled jobs over 12 months. They are all appearing in the Scheduled Jobs list in the UI. However, when I query the CronTriggers object, I see all these jobs have a State = DELETED.

What's the fastest way to get rid of these jobs? I've tried using Data Loader to delete the CronTrigger records but I get an insufficient permissions error. I have a case open with Salesforce but haven't heard back yet.

I have found this Known Issues item but I don't want to manually delete all 2000 jobs.
https://success.salesforce.com/issues_view?id=a1p30000000STwPAAW

thanks
David

Best Answer

You are right this is related to a known issue, but this has been adressed on SFSE before. See this question

Ghost Schedulable Classes Blocking Deployment

According to @Ralph, a SFSE user with high reputation, he has first hand experience with this and SF support was actually able to fix for him.

Salesforce support can run a quick fix to address. Contact them and ask to run "fix for locked scheduled class" and include the deployment error message.

Related Topic