Hi Guys
I am trying to write a very simple( I think) script that will check for a running module, if it is running, then end, if it is not running, then it must start it.
What I am trying to do exactly is check if rsync is running, and start it if it is not.
I have rsync starting in cron, but if there are any data line errors or anything, then it stops and it will only start again the next day, and I don't want to have hundreds of instances starting.
I have search for days and have not been able to find anything so hopefully someone will be able to help.