<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 2, 2023, 3:11 p.m. Roland Ernst <<a href="mailto:rcrernst@gmail.com">rcrernst@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 1, 2023 at 9:48 PM Ian Evans <<a href="mailto:dheianevans@gmail.com" target="_blank" rel="noreferrer">dheianevans@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Running 33.1 fixes</div><div><br></div><div>I'm running out of space until I get a new drive for the mythbox, so mounted a windows share and set up a user job using the script at:</div><div><br></div><div><a href="https://www.mythtv.org/wiki/Myth_archive_job.pl" target="_blank" rel="noreferrer">https://www.mythtv.org/wiki/Myth_archive_job.pl</a></div><div><br></div><div>I had used this in the past on another system and it worked. All it does is move the recording file if there's enough space. I chose a recording and selected the user job. It failed.</div><div><br></div><div>The backend log:</div><div>Nov 1 14:40:46 bhmf mythbackend: mythbackend[210595]: E UserJob_920 jobqueue.cpp:2468 (DoUserJobThread) JobQueue: User Job '/usr/bin/<a href="http://myth_archive_job.pl" target="_blank" rel="noreferrer">myth_archive_job.pl</a> -d /media/disk2/mythtv -f 15709_20231031235900.ts"' failed.</div><div><br></div><div>When I ran /usr/bin/<a href="http://myth_archive_job.pl" target="_blank" rel="noreferrer">myth_archive_job.pl</a> -d /media/disk2/mythtv -f 15709_20231031235900.ts from the command line as the mythtv user it worked.</div><div><br></div><div>Any idea why it would fail as a user job? How can I get some more info on why it failed?</div><div><br></div><div>Thanks.<br></div></div><br></blockquote><div><br></div><div>Is it a typo or does the user-job command actually end with one unmatched double quote (") ?</div><div>Check in mysql with</div><div><code><div><span><a href="http://10.0.0.190/phpmyadmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/select.html" target="_blank" rel="noreferrer">SELECT</a></span> * <span>FROM</span> <span>settings</span> <span>WHERE</span> <span>value</span> <span><a href="http://10.0.0.190/phpmyadmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/string-comparison-functions.html#operator_like" target="_blank" rel="noreferrer">LIKE</a></span> <span>'UserJob_'</span></div><div><br></div></code></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Dang! Good eye! I'll check it out later. </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></div></div>