node-cron icon indicating copy to clipboard operation
node-cron copied to clipboard

How to get Meaningful Next Date

Open SpencerWF opened this issue 4 years ago • 1 comments

Using the nextDates function you can get an array of the next x number of onTick times. An array of Objects with zero functions appears to be returned, how do you get the actual time of day at which the onTick will occur?

SpencerWF avatar Aug 18 '20 22:08 SpencerWF

Hey @SpencerWF 👋 https://github.com/P4sca1/cron-schedule allows you to do that.

P4sca1 avatar Nov 01 '20 11:11 P4sca1