Message from JavaScript discussions

December 2018

— What to save exactly i am confused

— 

The problem is that your program loses the level of investment, right? Saving that state on the database you’ll be able to get it back and restart from that point

— Say if the program get terminated at 1d 4h then it should increase 5% after 20h of that user

— Ok

— Which module is good for cron jobs in nodejs?

— I use node-cron

— I can save timestamp on process.on('exit'...

— And the website crontab.guru is a good point to explain and study cron expression

— Thnx

— I want every 24 hours

— What's the expression for that?

— 0 1 * * *