Restart Pm2 Process Every Day Using A Node Script

A brute force yet effective way to restart scripts that need it

To run node js scripts and apps constantly we usually use pm2 (some prefer forever). However, some scripts require a brute force restart from time to time as they don’t fare better in uninterrupted longer runs. Mostly, the reason is memory leaks of packages you’re bound to use but have no control over. [Read More]
nodejs  pm2  script