Optional cronjob?: CronJobAn optional CronJob instance associated with the task.
Optional description?: stringAn optional description of the task.
The method to be executed when the task is run.
Optional name?: stringThe name of the task.
Optional onThe method to be executed when the task is completed.
The schedule for the task. This can be a cron string or a Date object.
Optional start?: booleanA flag indicating whether the task should start immediately. If not set to true, you must call task.cronjob.start() manually
Optional timezone?: stringAn optional timezone for the task.
Represents a Scheduled Task with a name, optional description, schedule, start flag, optional timezone and a method.
Tasks are powered by the node-cron package.
An object of this type can be passed to the schedule method.