Schedular
A scheduler is a component that allows you to schedule tasks that will be executed in the future.
NOTE: reschedule
should use the same timing format as the task when initialized - (i.e : recurrent tasks will be reschedule to different recurrent interval... So its use only to change the period of the time).
Installation
You can install using npm.
npm install simple-task-scheduler
Usage
const Scheduler = const fn = { console}const period = years: 0 months: 0 weeks: 0 days: 0 hours: 0 minutes: 0 seconds: 0 SchedulerScheduler * * * * * *┬ ┬ ┬ ┬ ┬ ┬│ │ │ │ │ |│ │ │ │ │ └ day of 0 or 7 is Sun│ │ │ │ └───── │ │ │ └────────── day of │ │ └─────────────── │ └──────────────────── └───────────────────────── Scheduler const recurrentTask = SchedulerSchedulerScheduler Scheduler