↧
Answer by GAM for Using launchd to monitor a running program or process
After getting this far, it had to be some issue with mail being invoked by launchd, so I searched on that and I found this which referenced this. It was the .plist file in that it did not include the...
View ArticleAnswer by user3439894 for Using launchd to monitor a running program or process
I'm posting this as an answer because it's to much for a comment and I believe I know what the issue may be, even without seeing the contents of the proc_check.shshell script.I realized after reading...
View ArticleUsing launchd to monitor a running program or process
I've written a simple bash script to check whether a program (supplied as its only argument) is running and send an email to a set address in the script if it's not. The script works if run on the...
View Article