CronSchedule
@horizon-republic/nestjs-jetstream
@horizon-republic/nestjs-jetstream / CronSchedule
CronSchedule
Defined in: src/interfaces/schedule.interface.ts:22
A schedule that fires on a cron expression.
Properties
cron
cron:
CronExpression
Defined in: src/interfaces/schedule.interface.ts:23
data?
optionaldata?:unknown
Defined in: src/interfaces/schedule.interface.ts:35
Payload every tick carries, encoded with the connection codec.
timezone?
optionaltimezone?:string
Defined in: src/interfaces/schedule.interface.ts:26
IANA zone the expression is read in. Default UTC.
ttlSeconds?
optionalttlSeconds?:number
Defined in: src/interfaces/schedule.interface.ts:32
How long an unconsumed tick stays in the stream, in whole seconds. Defaults to the shortest gap between the next fires.