[mythtv-users] how "should" the scheduler work..

Brad DerManouelian myth at dermanouelian.com
Fri Sep 5 16:30:51 UTC 2008


On Sep 5, 2008, at 9:08 AM, Jay R. Ashworth wrote:

> On Fri, Sep 05, 2008 at 08:32:52AM -0700, Brad DerManouelian wrote:
>> mythbackend --printsched | grep -E " 05 [0-9][0-9]:[0-9][0-9]-[0-9]
>> [0-9]:[0-9][0-9]"
>>
>> Replace 05 with the day for which you want to print the schedule.
>
> Well, that's "for the day on which you run it", rather than "for the  
> next
> 24 hours", but I take your point.
>
> My target was "email me, at 8 am, everything scheduled between now and
> 8am tomorrow".

Yeah, I was too lazy to figure out how to parse what `date` returns  
and write a regex that would give you *exactly* what you needed.


More information about the mythtv-users mailing list