Created
June 6, 2018 09:14
-
-
Save danic85/e14186cfe09c08b4bb656c3aaa6aad9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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