<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<br>
<br>
Apologies for top posting - only android is available to me and I cannot get it to bottom post!<br>
<br>
I found in the past that changing the user job line did not work.  I concluded that the line was stored when you created the recording rule. You will need to either delete the recording rule(s) and recreate them
<br>
OR change the called script.<br>
Hth<br>
Phil<br>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> mythtv-users <mythtv-users-bounces@mythtv.org> on behalf of Stephen Worthington <stephen_agent@jsw.gen.nz><br>
<b>Sent:</b> 14 May 2018 03:09:32<br>
<b>To:</b> Discussion about MythTV<br>
<b>Subject:</b> Re: [mythtv-users] backend still running old user job command line after I changed it</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Sun, 13 May 2018 20:41:49 -0500, you wrote:<br>
<br>
>On 05/13/2018 07:39 PM, Ian Evans wrote:<br>
>> Was having a problem with mythvidexport.py not exporting one recording.<br>
>> <br>
>> I decided to increase the logging and changed my user job command line from:<br>
>> <br>
>> /usr/share/mythtv/mythvidexport.py --delete %VERBOSEMODE% %JOBID%<br>
>> <br>
>> to:<br>
>> <br>
>> /usr/share/mythtv/mythvidexport.py --delete --syslog local7 --loglevel<br>
>> debug<br>
>> --verbose all %JOBID%<br>
>> <br>
>> I restarted the backend and restarted the frontend and ran the job again.<br>
>> However, the log showed it was running the old command line:<br>
>> <br>
>> May 13 20:31:54 buster mythbackend: mythbackend[1385]: E UserJob_56023<br>
>> jobqueue.cpp:2445 (DoUserJobThread) JobQueue: User Job<br>
>> '/usr/share/mythtv/mythvidexport.py --delete  --verbose general --loglevel<br>
>> info --quiet --syslog local7 56023' failed.<br>
>> <br>
>> <br>
>> Running setup again, I could see the command line was the new one I had put<br>
>> in. So why would the logs show it running the old one?<br>
><br>
>Without seeing the actual commands and output, I can only guess that the initial<br>
>restart of the backend didn't take.<br>
><br>
>The settings are cached, so you can really get by with just doing a:<br>
>mythutil --clearcache [-q -q] rather that restarting the BE.<br>
><br>
>Or, your original command line is fine. Just do: mythbackend --setverbose all.<br>
>Then when the backend starts your UserJob, the options will be passed. I'd<br>
>suggest adding ,norefcount to cut down on the noise from all.<br>
<br>
How are you starting and stopping mythbackend?  On a systemd system,<br>
the old ways of doing that no longer work properly.  The correct<br>
commands for a systemd system are:<br>
<br>
systemctl start mythtv-backend<br>
systemclt stop mythtv-backend<br>
<br>
and restarting is:<br>
<br>
systemctl restart mythtv-backend<br>
<br>
To see what mythbackend's status is:<br>
<br>
systemctl status mythtv-backend<br>
_______________________________________________<br>
mythtv-users mailing list<br>
mythtv-users@mythtv.org<br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a><br>
</div>
</span></font></div>
</body>
</html>