Optional
callbacklinked worker function to run; if not provided, the system will attempt to start the cron job using the topic, but a new worker will not be created. This is useful for spawning a cron job from an ephemeral node process.
Optional
connectionProvider configuration
Optional
guidIdempotent GUID for the worker and engine used for the cron
Optional
logLog level for the cron
Optional
namespaceNamespace for grouping common cron functions. The cron job keys in Redis
will be prefixed with this namespace. (e.g. hmsh:[namespace]:j:*
)
Options for the cron job
Optional
redisRedis configuration; use 'connection' instead of 'redis'
Unique topic for the cron function to identify the worker
Arguments to pass to the cron job; arguments will be passed to the callback each time it runs