Relative Content

Tag Archive for pm2

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?