Cron job which checks if node process is running
Displaying running processes in the system $ ps -A Checking if any “node” process is currently running $ pgrep <process_name> As an output you will receive a list of PIDs $ pgrep node 31234 Editing Cron settings file $ crontab -e Example configurations: #Execute .sh file every day at 11:15 15 11 * * *… Read More »