Interface: CronJob
@kortexya/reasoninglayer / CronJob
Interface: CronJob
Section titled “Interface: CronJob”Defined in: src/types/cron.ts:113
A cron job’s full state (GET /api/v1/cron/jobs/{job_id}).
Remarks
Section titled “Remarks”Echoes every field the create request accepts, with each default resolved
to the value the job actually runs with. enabled is reported through
CronJob.status: a job created with enabled: false reads paused.
Properties
Section titled “Properties”agentId
Section titled “agentId”agentId:
string
Defined in: src/types/cron.ts:123
UUID of the agent that handles the triggers.
backoffMs
Section titled “backoffMs”backoffMs:
number
Defined in: src/types/cron.ts:133
Backoff in milliseconds between retries.
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/cron.ts:139
When the job was created (RFC 3339).
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: src/types/cron.ts:119
Description, or null when none was given.
id:
string
Defined in: src/types/cron.ts:115
Job id.
jitterMs?
Section titled “jitterMs?”
optionaljitterMs?:number|null
Defined in: src/types/cron.ts:129
Random jitter in milliseconds added to each fire, or null.
maxRetries
Section titled “maxRetries”maxRetries:
number
Defined in: src/types/cron.ts:131
Maximum retry attempts for a failed execution.
name:
string
Defined in: src/types/cron.ts:117
Human-readable name.
nextFireTime?
Section titled “nextFireTime?”
optionalnextFireTime?:string|null
Defined in: src/types/cron.ts:137
Next scheduled fire time (RFC 3339, UTC), or null when the job is not scheduled.
payload?
Section titled “payload?”
optionalpayload?:string|null
Defined in: src/types/cron.ts:125
Payload delivered with each trigger, or null.
runCount
Section titled “runCount”runCount:
number
Defined in: src/types/cron.ts:143
Total number of times the job has fired.
schedule
Section titled “schedule”schedule:
CronSchedule
Defined in: src/types/cron.ts:121
Schedule configuration.
status
Section titled “status”status:
CronJobStatus
Defined in: src/types/cron.ts:135
Current lifecycle status.
timezone
Section titled “timezone”timezone:
string
Defined in: src/types/cron.ts:127
Canonical IANA name of the zone a cron expression is read on.
updatedAt
Section titled “updatedAt”updatedAt:
string
Defined in: src/types/cron.ts:141
When the job was last modified (RFC 3339).