Why pm2 logs are being saved with root as owner?
I can perform all the pm2 commands with normal user, but to pm2 flush
logs I need super user permissions.
Using PM2 to start and stop at a particular time
Is it possible to setup pm2 to start a service at a certain time, and then kill it at a certain time. We have time apps that should only be accessible at certain times, and be turned off the rest of the time. For example, lets say I have a search API, that I only want to be up and available from 5pm to 9pm; is it possible to set this up fully in pm2?
How to fully refresh PM2 environment variables without “kill” command?
My old ecosystem.config.js file had these env variables