[mythtv-users] User job won't run!

Michael Rice mikerice1969 at gmail.com
Fri Oct 5 23:38:08 UTC 2007


On 9/30/07, Jacob Strandlien <rodago at gmail.com> wrote:
> Hi!  I've been frustrated trying to get a commercial removal script running
> for over a week now, and I've simply run out of options; I don't have a clue
> what to do next.  I'm using a nearly fresh install of the latest version of
> MythTV with a single-machine backend/frontend setup.
>
> I've followed the automatic removal instructions in the 'Removing
> Commercials' page of the wiki
> (http://www.mythtv.org/wiki/index.php/Removing_Commercials)
> to the letter.  The only adjustments I've made to the given instructions
> were to change a line in the provided script to delete originals instead of
> backing them up; losing a show now and then because of a commercial removal
> bug doesn't concern me.
>
> My issue is that the script doesn't automatically run.  It's as simple as
> that.  I've tested the script by running it manually (it works perfectly
> every time I've tried).  I set it up as user job 1, set the backend to allow
> user job 1, and set several shows to run user job 1.  I've checked the
> queue, both through the frontend and through 'mythbackend -v userjobs'.  It
> queues user job 1, and claims to run and finish user job 1 (though the
> running is suspiciously short; it takes no discernible time at all), and no
> commercials are removed.  I even dug deeper, and added a line to the
> beginning of the script to log a timestamp to a file I created for the
> purpose.  The timestamp is logged every time I run the script manually, but
> is never logged when Myth claims to run user job 1.
>

My only guess would be that myth doesn't have permission to run the
script.  If that is the case then chmod ugo+rx (or some such) would do
the trick.  If you were running it manually as root and myth isn't run
as root that might explain that behavior.

If you've solved it let us know what the problem was.


More information about the mythtv-users mailing list