The cron job entity that is stored in the db.

Hierarchy (View Summary)

Constructors

Properties

active: boolean

Whether or not the cron job is currently active.

cron: string

The cron expression.

errorMessage: undefined | string

The error message that this cron job failed with.

id: string

The uuid (universal unique identifier) of the entity.

lastRun: undefined | Date

The timestamp at which this cron job has been last run.

name: string

The name of the cron job.

runOnInit: boolean

Whether or not the cron job should run on app start.

stopOnError: boolean

Whether or not the cron job should stop on an error.