Skip to main content

Function: Cron()

function Cron(cronExpression, jobFunction): CronJob

Parameters

ParameterType
cronExpressionstring
jobFunctionstring | () => void

Returns

CronJob