I've got a script running, which inturn spawns multiple child processes.
How can I re-start the script immediately after all the child & parent processes of the first run finishes?
As I'm away for the weekend, I need to automate this.
So I would need some script that does the following
a)keeps checking status & informs when all parent & child processes end.
// that is the main bottle neck for me
b)once this happens,start the script again
You could check if your parent process is up with
keeps checking status
ps -e | grep processname
in a controller script run as a cron job every min.