Friday, October 11, 2019

How to get Scheduled Jobs information Using SOQL

All the scheduled jobs are stored in CronTrigger object in Salesforce.

SOQL Query

SELECT ID, CronExpression, CronJobDetail.Name, CronJobDetailId, EndTime, NextFireTime, PreviousFireTime, StartTime, State, TimesTriggered FROM CronTrigger

Result


Refereence
CornTrigger

No comments:

Post a Comment