Restart Pm2 Process Every Day Using A Node Script

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

To run NodeJS 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 do not fare better in uninterrupted longer runs. Mostly, the reason is memory leaks of packages you are bound to use but have no control over. [Read More]
nodejs  pm2  script