[mythtv-users] Finally using comflagging (wow!), have a few questions

Tom Dexter digitalaudiorock at gmail.com
Mon Mar 31 23:23:56 UTC 2008


On Mon, Mar 31, 2008 at 5:09 PM, Tom Dexter <digitalaudiorock at gmail.com> wrote:
>
>  The work-around I was considering was to leave everything set the way
>  it is; mark the shows that I want flagged in realtime for auto
>  commflagging; and to write a simply nightly cron job that picks up
>  everything else from the previous day using mythcommflag with the
>  --allstart option.
>

For my purposes, I think something as simple as this would do it:

#!/bin/bash
YESTERDAY_MIDNIGHT=`date -d yesterday +%Y%m%d000000`
exec mythcommflag --queue --allafter $YESTERDAY_MIDNIGHT

...and have that run at about 3AM.  I think that'll do it.

Tom


More information about the mythtv-users mailing list