[mythtv-users] User job problems
Paul Faulkner
paul at headwall.co.uk
Sat Jan 7 20:25:36 UTC 2006
Brian Wallen wrote:
> I've got a script that uses ffmpeg to transcode video to PSP format.
> It works great in the console, but it will not run in mythtv as a user
> job. I ran mythbackend -v jobqueue to see what the trouble was, and
> here is what I've got.
>
> 2006-01-07 15:02:19.474 JobQueue::GetJobsInQueue: findJobs search
> bitmask 4, found 1 total jobs
> 2006-01-07 15:02:19.474 JobQueue::GetJobsInQueue: Found 'PSP Video'
> Job for 1004 @ 20050605004200 in Queued state.
> 2006-01-07 15:02:19.525 JobQueue currently set at 1 job(s) max and to
> run new jobs from 00:00 to 23:59
> 2006-01-07 15:02:19.528 JobQueue::GetJobsInQueue: findJobs search
> bitmask 4, found 1 total jobs
> 2006-01-07 15:02:19.528 JobQueue::GetJobsInQueue: Found 'PSP Video'
> Job for 1004 @ 20050605004200 in Queued state.
> 2006-01-07 15:02:19.531 JobQueue: Currently Running 0 jobs.
> 2006-01-07 15:02:19.533 JobQueue: Skipping 'PSP Video' job for chanid
> 1004 @ 20050605004200, should run on 'mythtv' instead
>
>
> It said "should run on 'mythtv' instead," so I ran mythbackend as the
> user mythtv, but it still gave the same error. Any ideas?
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
Not sure but I had similar problems running mythfilldatabase from a cron
job and it turned out that I wasn't setting a complete PATH in my
script. I was assuming that /usr/local/bin was available but it wasn't.
Try setting your PATH manually at the top of your script maybe?
Paul
More information about the mythtv-users
mailing list