![]() |
|
XP is just a number | |
PerlMonks |
Re: RRD-Ping getting values on right intervalby quester (Vicar) |
on Nov 30, 2011 at 08:46 UTC ( [id://940797]=note: print w/replies, xml ) | Need Help?? |
Instead of "sleep 45" you can sleep until the start of the next minute with Time::HiRes:
You might need to subtract a fraction of a second from the sleep interval if the log entries tend to end in :01 rather than :00.
In Section
Seekers of Perl Wisdom
|
|