CronTrigger
Defines time-based triggers for scheduled Apex jobs, controlling when they execute.
Columns
| Name | Type | References | Description |
| Id [KEY] | String | Unique identifier of the scheduled job trigger. | |
| CronJobDetailId | String | ID that links this trigger to its associated scheduled job. | |
| NextFireTime | Datetime | The next scheduled execution time of the job. | |
| PreviousFireTime | Datetime | The last time the job was executed. | |
| State | String | Current state of the job, such as WAITING or ACQUIRED. | |
| StartTime | Datetime | Date and time when the job is scheduled to start. | |
| EndTime | Datetime | Date and time when the job is scheduled to end. | |
| CronExpression | String | Cron expression that defines the job schedule. | |
| TimeZoneSidKey | String | Time zone used to evaluate the cron expression. | |
| OwnerId | String |
User.Id | ID of the user who owns the scheduled job. |
| LastModifiedById | String |
User.Id | ID of the user who last modified the job. |
| CreatedById | String |
User.Id | ID of the user who created the job. |
| TimesTriggered | Int | Total number of times the job has been triggered. | |
| SOQL | String | Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| CreatedDate | Datetime | Date and time when the job was created. |