Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* Cancel Scheduled Jobs in Apex */
for(CronTrigger delCron: [SELECT Id FROM CronTrigger ]) {
System.abortJob(delCron.Id);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment