This is a very nice thread, in 2 days, I got two very useful utilities :-) Thanks Tom and John!
I tried Tom's alarm utility while AVG was doing a virus scan on my computer. This normally slows everything down quite significantly, but alarm kept ticking regularly and the CPU utilisation of "alarm" never moved higher than 0. I like it. Under Unix/Linux, the alarm utility is a nice bridge between a simple sleep() and a cron job. Thanks again, Didier KO4BB > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tom Van Baak > Sent: Saturday, February 23, 2008 11:15 PM > To: Discussion of precise time and frequency measurement > Subject: Re: [time-nuts] Slightly off-topic: How to take > measurements atfixed intervals in Perl > > > I finally figured it out, and the details are at > > http://www.febo.com/pages/perl-alarm-code/index.html if > this might be > > of interest to any of you. > > > > John > > I ran into the same thing for my lab logging scripts. Instead > of using the windows sleep command I wrote an 'alarm' command: > > http://www.leapsecond.com/tools/alarm.c > http://www.leapsecond.com/tools/alarm.exe > > I use this to periodically snapshot log files, generate > plots, and then upload to: http://www.leapsecond.com/lab/lab.htm > > The code should compile on unix systems as well. > > /tvb > > > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com To unsubscribe, > go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.20.9/1294 - Release > Date: 2/22/2008 6:39 PM > > No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.9/1294 - Release Date: 2/22/2008 6:39 PM _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.