- Javascript
- Node.js
- Install Nodejs and download the node-scheduler.
- Make a items file, which have list of events in a format of { text: "textOne", dateTime: "2022-03-18 08:10:00.00", }
- I used node-scheduler here to find the date and time.
- Making reverse function to reverse the text.
- For stopping the event used .cancel()
First I thought that how it will run simple but after sometime i relized it is not that way.Then I google and I found cron, node-cron and node-scheduler.
- Learn new npm package node-scheduler also learn node-cron.