How to get Cron Job name from CronTrigger object in Salesforce?

CronJobDetail.Name gives the Job name from CronTrigger object in Salesforce. Check the below Query for example.

Sample Query:

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



No comments:

Post a Comment

Sharing is Caring!!! Share this with your friends!!!

submit to reddit