Try replacing your script (call it script.sh) with another script which does a sh -x script.sh 2>&1 | logger In my case problems like yours come from using commands which aren't in the path. -chris