Timer
Type: Object
Timers are used to schedule functions to be run on a specific schedule.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| active | Boolean! | Whether the timer is active | ||
| connection | Connection | The connection that owns this timer | ||
| connectionId | ID | |||
| createdAt | DateTime! | |||
| executionCount | Int! | |||
| executionFailures | Int! | |||
| executionPending | Int! | |||
| executions | [TimerExecution!]! | filter: TimerExecutionFilterInputlimit: Intoffset: Intsort: [TimerExecutionSortInput] | The executions of the timer | |
| executionSuccesses | Int! | |||
| function | Function | The function that will be executed when the timer is triggered | ||
| functionId | ID | |||
| humanSchedule | String | The human-readable schedule of the timer | ||
| id | ID! | |||
| lastTriggeredAt | DateTime | |||
| name | String! | The name of the timer | ||
| roleBindings | [IamRoleBinding!]! | filter: IamRoleBindingFilterInputlimit: Intoffset: Intsort: [IamRoleBindingSortInput] | The role bindings for the timer | |
| schedule | String! | The schedule of the timer in CRON format | ||
| updatedAt | DateTime! |