isRecurringJob
Defined in: packages/core/src/jobs/guards.ts:218
Type guard to check if a job is a recurring scheduled job.
A recurring job has a repeatInterval cron expression and will be automatically
rescheduled after each successful completion.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Description |
|---|---|
T | The type of the job’s data payload |
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
job | Job<T> | The job to check |
Returns
Section titled “Returns”boolean
true if the job has a repeatInterval defined