Simple script requested by a friend.
Re-execute a script when it is either terminated or crashes.
Download the files by cloning the project.
- Make sure file_watch.sh has execute permissions
chmod +x file_watch.sh
- Make sure python3 is installed It should be already
- Make sure the python script is executable
chmod +x hello.py
- Change hello.py with a full path to a python executable
- Could add email alerts for long running processes