Skip to content

@saflib/cron-http


Function: runCron()

runCron(options): Promise<undefined | CronJob<null, null>>[]>

Runs the cron jobs until the process is killed. Returns an array of cron jobs.

Parameters

ParameterType
optionsCronServiceOptions

Returns

Promise<undefined | CronJob<null, null>[]>