[mythtv-users] 0.27 trying to create a user job script, not starting, remains "queued"

Steven Adeff adeffs.mythtv at gmail.com
Thu Jun 12 15:41:55 UTC 2014


On Wed, Jun 11, 2014 at 4:25 PM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> On 06/11/2014 04:23 PM, Michael T. Dean wrote:
>>
>> On 06/11/2014 03:30 PM, Gary Buhrmaster wrote:
>>>
>>> On Wed, Jun 11, 2014 at 7:24 PM, Steven Adeff wrote:
>>>>
>>>> Hello all!
>>>> I'm attempting to create my own user job script, I attempted to run it
>>>> via mythweb, but it sits as "queued" according to the backend status
>>>> page.
>>>> I don't see anything about it in the backend log.
>>>>
>>>> I'm wondering if anyone knows what I've done wrong? or can clue me in
>>>> to what I should start looking for as to why?
>>>> thanks!
>>>
>>> Off the top of my head:
>>>
>>> Did you restart the BE?  It is required if you
>>> update/create jobs via mythweb.
>>>
>>> Did you set your BE to enable user jobs (in
>>> mythtv-setup job queue).
>>>
>>> Does your job queue start/end time allow
>>> running now?
>>
>>
>> And if you want them to be run automatically, there are 3 locations where
>> you must enable (each) jobs.  They must be enabled in the recording rule, in
>> the recording profile, and on the host.  (These 3 locations allow you to run
>> jobs on some or all recordings depending on which rule recorded them, how
>> they were recorded (recording profile), and to run them where you want
>> (host).
>
>
> Erp, I'm wrong again.
>
> http://www.gossamer-threads.com/lists/mythtv/users/453812#453812
>
> Only automatic transcode jobs need enabled in the recording profile.  (So 2
> locations unless it's an auto transcode job.)

ok, got it to run!
a followup question, when providing the command line to run, what is
the proper way to type the variables so they will be captured properly
by the script?
ie if I'm using a BASH script, if I want to provide the subtitle to
the script, and the subtitle has a colon in it,
"International Friendly: Republic of Ireland vs. Portugal"
would I use
script.sh $SUBTITLE$
or
script.sh "$SUBTITLE$"

to run the script?
thanks!
-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette


More information about the mythtv-users mailing list