runTaskPeriodically

source

runTaskPeriodically(__namedParameters: Object): cron.ScheduledTasksource

Runs a task periodically using node-cron.

The cron expression can use the following format:

┌────────────── second (optional)
│ ┌──────────── minute
│ │ ┌────────── hour
│ │ │ ┌──────── day of month
│ │ │ │ ┌────── month
│ │ │ │ │ ┌──── day of week
* * * * * *