DEV Community

bhanukarkra
bhanukarkra

Posted on

how to check the schedule class in your org

To get the underlying Apex class from the scheduled jobs, the following query can be run.

Query to get the scheduled job underlying apex class.

SELECT ApexClassId,ApexClass.name,Id,JobItemsProcessed,JobType,Status, NumberOfErrors,MethodName, CronTrigger.CronJobDetail.Name FROM AsyncApexJob WHERE JobType ='ScheduledApex'

after running this verify the ids, if your class id is there

Top comments (0)