[mythtv-users] mirobridge cron and ubuntu 9.10
Eric N
sheed03 at gmail.com
Sat Mar 20 18:22:46 UTC 2010
On Fri, Mar 19, 2010 at 9:48 PM, Jack McGee <jack at greendesk.net> wrote:
> On 3/19/2010 7:01 PM, Nick Rout wrote:
>
>> On Sat, Mar 20, 2010 at 6:42 AM, Jack McGee<jack at greendesk.net> wrote:
>>
>>
>>> I changed the cron line to:
>>>
>>> 10 * * * * env `/usr/bin/dbus-launch` sh -c 'trap "kill
>>> $DBUS_SESSION_BUS_PID" EXIT;
>>> /usr/share/doc/mythtv-backend/contrib/imports/mirobridge/mirobridge.py
>>> -Vt
>>>
>>>
>>>> "/tmp/mirobridge.log" 2>&1
>>>>>
>>>>>
>>>> It still does not log anything. Not sure I gave full path to all the
>>> commands. Are you talking about the cron line, or the script? If the
>>> cron
>>> line, what else needs a full path?
>>>
>> perhaps kill?
>
>> trap is a bash builtin so shouldn't need a full path.
>>>
>>>
>>
> Ok, the latest from crontab -l and nothing has changed, no log and no
> activity that I can tell from mirobridge:
>
> 10 * * * * env `/usr/bin/dbus-launch` sh -c 'trap "/usr/bin/kill
> $DBUS_SESSION_BUS_PID" EXIT;
> /usr/share/doc/mythtv-backend/contrib/imports/mirobridge/mirobridge.py -Vt
> >> "/tmp/mirobridge.log" 2>&1
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
I am running mythbuntu 9.10 and I am having the exact same issue as above.
Outside of cron, mirobridge works fine. Here is my crontab:
10 05 * * * env `/usr/bin/dbus-launch` sh -c 'trap "/bin/kill
$DBUS_SESSION_BUS_PID" EXIT;
/usr/share/mythtv/mythvideo/scripts/mirobridge.py -Vt >>
"/tmp/mirobridge.log" 2>&1
--
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100320/6c843d13/attachment.htm>
More information about the mythtv-users
mailing list