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
bperry8086bperry8086 

How to delete invisible scheduled jobs?

I refreshed a full data sandbox recently. When I run my tests, there are errors due to scheduled jobs. No jobs are visible under "Scheduled jobs". I've run anon apex intended to remove all scheduled jobs. Still no luck. How do I get rid of these invisible scheduled jobs?
Best Answer chosen by bperry8086
bperry8086bperry8086
My view was for all scheduled jobs and I am an admin.  There should not be any jobs I can't see.

I resolved the problem by calling Salesforce and opening a case.  Apparently, when refreshing or creating a sandbox, some remnant of a scheduled jobs can be left behind even though it is not visible.  Salesforce support has the ability to correct this problem.

All Answers

Pavit SiddhuPavit Siddhu

Hello

Check for scheduled jobs by other user.

bperry8086bperry8086
My view was for all scheduled jobs and I am an admin.  There should not be any jobs I can't see.

I resolved the problem by calling Salesforce and opening a case.  Apparently, when refreshing or creating a sandbox, some remnant of a scheduled jobs can be left behind even though it is not visible.  Salesforce support has the ability to correct this problem.
This was selected as the best answer