Interface: CronServiceOptions
Options to be passed when starting a cron service.
Properties
dbKey?
optionaldbKey:symbol
Key to be used to connect to the cron DB.
dbOptions?
optionaldbOptions:DbOptions
Options to be passed to the cron DB, if dbKey is not provided.
enqueueJob
enqueueJob:
CronEnqueuer
Enqueues a background job for a cron tick. Typically makeCronEnqueuer from @saflib/jobs-http, wired by the product monolith.
jobs
jobs:
JobsMap
Map of job names to their configurations.