Salesforce Fact #140 | Scheduled apex count

We can get the count of apex scheduled jobs in the org. The job type '7' specifies apex scheduled jobs. Below is the query:

SELECT COUNT() FROM CronTrigger WHERE CronJobDetail.JobType = '7'

Collected from: https://trailhead.salesforce.com/en/content/learn/modules/asynchronous_apex/async_apex_monitoring

Comments

Popular posts from this blog

Salesforce Fact #218 | Blank picklist value is actually NULL

Salesforce Fact #929 | Nth highest in screen flow

Salesforce Fact #989 | New delete files permission