[mythtv-users] Schedules Direct DataDirect replacement service testing

R. G. Newbury newbury at mandamus.org
Thu Oct 2 15:50:32 UTC 2014


On 02/10/14 09:56 AM, Robert Eden wrote:
> On 10/2/2014 8:41 AM, Bill Meek wrote:
>> One issue *could* be that the new server doesn't respond to pings. For
>> some
>> reason, I seem to remember an old thread where someone mentioned using a
>> wrapper script that did a ping before calling mythfilldatabase. That
>> would
>> fail. It could also be my imagination.
> Pings added...  it bothered me too! :)
>
> Robert

To do this, I wrote a little script, called as /usr/local/bin/grabber

#!/bin/bash
/usr/bin/ping -c 2 sentex.ca
/usr/local/bin/mythfilldatabase --dd-grab-all

Remember to change the settings in Setup or
in mysql:

 > update settings set data="/usr/local/bin/grabber" where 
value="MythFillDatabasePath";

 > update settings set data="" where value="MythFillDatabaseArgs";


              R. Geoffrey Newbury			



More information about the mythtv-users mailing list