Shell script action summary / failure report

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Shell script action summary / failure report Fri Nov 11, 2016 9:20 pm • by fuank
Is it possible to log the results of shell scripts triggered with hazel to a file and send a notification?

I have a bunch of sed-based search & replace actions and it would be great if I could be alerted whenever one of them encounters an error or its search pattern isn't actually found and so no replacement occurred.
fuank
 
Posts: 3
Joined: Mon Jul 05, 2010 3:17 pm

If you turn on debug mode (https://www.noodlesoft.com/kb/hazel-debug-mode/), the script output will go to the logs. Anything beyond that, though, will have to be coded into the script itself.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support