schedule
sourceschedule(cronExpression: string, func: string | Function, options: ScheduleOptions): ScheduledTasksource
Creates a new task to execute the given function when the cron expression ticks.
schedule(cronExpression: string, func: string | Function, options: ScheduleOptions): ScheduledTasksource
Creates a new task to execute the given function when the cron expression ticks.