[mythtv-users] How-to test MythTV activity from cron job

John Drescher drescherjm at gmail.com
Wed Mar 14 00:33:24 UTC 2007

> So, my question is this: is there a way to "test" Mythtv from a cron job to determine if there are active recordings in process?  I thought I might be able to query the database?  But, in looking at mythtv's tables, it is not obvious to me what table/field I would issue the test against?  Or, maybe there is already a "hook" built-in to mythtv that I could use?  Any suggestions are welcome.  Thanks.

How about:
# wget --quiet -O - | grep Encoder
    <h2>Encoder status</h2>
    Encoder 8 is local on jmd1 and is not recording.<br />
    Encoder 9 is local on jmd1 and is not recording.<br />

More information about the mythtv-users mailing list