[colug-432] A Real Time Clock question

Rob Funk rfunk at funknet.net
Mon Mar 28 09:36:10 EDT 2011


On Monday, March 28, 2011 01:12:08 am Rob Stampfli wrote:
> Right, Jim.  I'm looking at shifting all the timekeeping.
> 
> The basic idea is that this machine is used to digitially record
> TV programming for later viewing.  I use Cron to start things off,
> and it takes a couple seconds to get everything going.  However,
> I don't want to start the recordings a full minute early, and in
> any event, having to program the start times for everything as
> xx:59 or xx:29 would be ugly.  I suppose the alternative would be
> to tweak just Cron, although I don't see any obvious way of doing
> that, either.

You could make it work by adding ugliness: start at xx:59 and include a "sleep 
55" before the actual recording command.


(Personally I'm in favor of everything saying the correct time, and then 
scheduling based on that.)


More information about the colug-432 mailing list