[mythtv-users] Removing Job Stuck in Queue
Michael T. Dean
mtdean at thirdcontact.com
Wed Apr 19 16:57:01 UTC 2017
On 04/19/2017 12:10 PM, Ben wrote:
> Hey all,
>
>
> I seem to have a queue entry for user job #4 that was a function that was erroneously inserted into job slot 4 and I cleaned up. But now this Job is sitting in the queue and I'd like to remove it as it's not clearing out by itself.
>
> I looked on google and either "removing job entries" had information for versions of myth like 0.22 or involved going into mysql.
>
> Is there a better/newer way to delete/remove a job entry listing that seems stuck in the queue (as shown by MythWeb)?
>
The best way is to make the job actually succeed... So, if you have a
job that calls a script "typo.pl", set up a script called typo.pl that
just exits with no error code (0). Then, restart the job (easiest way
is to restart the backend that's supposed to run that job--or all
backends for good measure, in case you're allowing either/all to run
jobs), it will succeed and then be cleared out properly/completely by
the backend.
Mike
More information about the mythtv-users
mailing list