shell script to run client under a watchdog, which emails/texts on failure