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 #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow