old developer scheduled an apex class by cron expression.But the scheduled job name is not given properly.

Then how can we know that apex class by job name to verify what is that job doing?

AccountSchedulableClass sch= new AccountSchedulableClass ();
String cronexpression = '0 0 0 ? * * *';
System.schedule('blah blah blah', cronexpression, sch);

1 Answer 1


By Using the below query we can get the APEX class & Cron Expression

SELECT ApexClass.Name, Id, JobType, Status, CronTrigger.CronJobDetail.Name, CronTrigger.CronExpression 
FROM AsyncApexJob 
WHERE CronTrigger.CronJobDetail.Name='your job Name' 
AND JobType='ScheduledApex'


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .