CronDecoratorOptions
Defined in: tsed/src/decorators/types.ts:56
Options for the
method decorator.
Maps to @monque/core ScheduleOptions with additional metadata overrides.
Extends
Section titled “Extends”ScheduleOptions
Properties
Section titled “Properties”Defined in: tsed/src/decorators/types.ts:60
Override job name (defaults to method name).
priority?
Section titled “priority?”Defined in: core/dist/index.d.mts:178
Signed safe integer retained across recurring runs. Defaults to 0.
Inherited from
Section titled “Inherited from”session?
Section titled “session?”Defined in: core/dist/index.d.mts:128
Session from the MongoClient used by Monque. The caller owns its lifetime, transaction, and commit. In a transaction, jobs become visible to workers after commit.
Inherited from
Section titled “Inherited from”timezone?
Section titled “timezone?”Defined in: core/dist/index.d.mts:183
IANA timezone for the recurring schedule, for example Europe/Berlin or UTC.
When omitted, cron evaluation uses the server’s local timezone.
Inherited from
Section titled “Inherited from”uniqueKey?
Section titled “uniqueKey?”Defined in: core/dist/index.d.mts:188
Deduplication key. If a job with this key is already pending or processing, the schedule operation will not create a duplicate.