I have a bash script I want to be run when a recording has finished.&nbsp; I added the user jobs in mythsetup, and when it didn't work, kept tweaking the settings table directly, but with no luck.&nbsp; Here is what I've got:&nbsp; select * from settings where value like '%userjob1%':<br>JobAllowUserJob1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mythbox<br>UserJob1&nbsp;&nbsp;&nbsp; /usr/sbin/SaveMythRecording.sh %CHANID% %STARTTIME% %DIR% %FILE%&nbsp; mythbox<br>AutoRunUserJob1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mythbox<br>UserJobDesc1&nbsp;&nbsp;&nbsp;&nbsp; My user job&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mythbox<br><br>NOTE: I also added another set of duplicate records with hostname=null.&nbsp; In my "record" table autouserjob1 is "1" for all shows.&nbsp; And I confirmed in mythweb that it is checked.&nbsp; I've tried reloading the front end and back end.&nbsp; And I've confirmed the permissions on the script allow execution (ie -rwxr-xr-x).&nbsp; The bash script just contains a simple:<br>#!/bin/bash<br>echo "$(date) $0-$1-$2-$3-$4" &gt;&gt; /home/donerecording.log<br><br>so I will know when the script is being run (my home directory has full permissions).&nbsp; But that file is never created.&nbsp; In my mythbackend.log when a recorded program is over there is no mention of the user job:<br>2006-12-18 18:30:00.568 TVRec(1): Changing from RecordingOnly to None<br>2006-12-18 18:30:01.236 Finished recording Chinese News: channel 1008<br>2006-12-18 18:30:01.251 Reschedule requested for id 0.<br>2006-12-18 18:30:01.443 Finished recording Chinese News: channel 1008<br>0: start_time: 0.036 duration: 161.760<br>1: start_time: 0.026 duration: 161.739<br>stream: start_time: 0.289 duration: 1797.440 bitrate=5203 kb/s<br>2006-12-18 18:30:02.063 AFD: Opened codec 0x824daa0, id(MPEG2VIDEO) type(Video)<br>2006-12-18 18:30:02.058 Scheduled 1 items in 0.8 = 0.61 match + 0.19 place<br>2006-12-18 18:30:02.098 AFD: Opened codec 0x824ca40, id(MP2) type(Audio)<br><br>Anybody have any ideas?&nbsp; Thanks for any help.<br><br>
<div>

</div>
<BR>

-- 
<p>
<a href="http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=en-mail_a_01" target=_blank>
<img alt="" src="http://a8-asy.a8ww.net/a8-ads/adftrview?redirectid=en-mail_i_01" border="0"></a>
</p>