This question already has an answer here:
- Check for Process if Same is Running 6 answers
I am using a custom script (stream.sh) which starts on boot. However, I want to check after every 5 minutes if the script is running. If it is not running, I want to run it again. How can I configure it in crontab or else?
I am using Ubuntu 18.04.