Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: once again: standby mode



Johannes Schoeller wrote:
> 
> ...
> so maybe that.s a way to go.
> what already exists is the "timeout" value, which can be set to shutdown the
> pc after a given time.
> so why not use it that way:
> unload vdr, unload drivers and shutdown hd.
> BUT still check timers.conf e.g. every minute to see if a recording should
> take place.

You don't need to explicitly check timers.conf for that.
When the shutdown script is called, it gets the start time of the next 
timer event. So all you need to do is store that time in, say, a file
and check the current time against that one. Once it has been reached
simply start VDR again. This can be done even simpler by generating an 'at'
job entry that starts VDR at the given time

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________




Home | Main Index | Thread Index