Please try below code to abord any job in salesforce
for(CronTrigger ct : [SELECT Id, CronJobDetail.Name, CronJobDetail.JobType
FROM CronTrigger
WHERE CronJobDetail.Name like 'Work Order%']){
// abort the job, try/catch because the job might not exist
// if it's being aborted manually or from another execution
try{
system.abortJob(ct.id);
} catch (exception e) {}
}
I mean, you can intentionally schedule your job to get jobId and then Abort you job.
https://www.interactiveties.com/blog/2012/batch-apex-test.php
http://support.beaufort12.com/customer/portal/articles/1759433-how-do-i-stop-scheduled-jobs-
Let us know if this will help you
Thanks
Amit Chaudhary
You can go to Setup pages> Monitor>Jobs>Apex jobs
From Here you will get the jobid which you can use to excute system.abortJob(jobid) in Enonymous window in Developer console.
Regards
Nitesh