I want to console log "hi" in 10 minutes but only once. How could I achieve this with node-cron?
Tried to use some others but they failed to do the job.
I want to console log "hi" in 10 minutes but only once. How could I achieve this with node-cron?
Tried to use some others but they failed to do the job.
node-cronsupports passing aDateobject to fire an event at a specific date and time. Fromnode-cron'sREADME.md:In short, create a
Date()object that represents the time 10 minutes from execution: