CronTrigger
Defines time-based triggers for scheduled Apex jobs, controlling when they execute.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier of the scheduled job trigger. | |
| CronJobDetailId | String | True |
ID that links this trigger to its associated scheduled job. | |
| NextFireTime | Datetime | True |
The next scheduled execution time of the job. | |
| PreviousFireTime | Datetime | True |
The last time the job was executed. | |
| State | String | True |
Current state of the job, such as WAITING or ACQUIRED. | |
| StartTime | Datetime | True |
Date and time when the job is scheduled to start. | |
| EndTime | Datetime | True |
Date and time when the job is scheduled to end. | |
| CronExpression | String | True |
Cron expression that defines the job schedule. | |
| TimeZoneSidKey | String | True |
Time zone used to evaluate the cron expression. | |
| OwnerId | String | True |
User.Id |
ID of the user who owns the scheduled job. |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified the job. |
| CreatedById | String | True |
User.Id |
ID of the user who created the job. |
| CreatedDate | Datetime | True |
Date and time when the job was created. | |
| TimesTriggered | Int | True |
Total number of times the job has been triggered. |