The stupid question is the question not asked | |
PerlMonks |
Create a loop of 1000ms at the exact secondby gepebril69 (Scribe) |
on Feb 20, 2015 at 10:16 UTC ( [id://1117308]=perlquestion: print w/replies, xml ) | Need Help?? |
gepebril69 has asked for the wisdom of the Perl Monks concerning the following question: Hi there Create a loop every second at hh:mm:ss.000000 For netwerkmonitoring I want to create a loop of 1 second and do a ping to another server The result of this ping, with timeout set to 10000msec I want to store in a logfile. This logfile (ping-test_yyyymmdd.log will so be filled with yyyy-mm-dd hh:mm:ss;<response in ms> entries
- To do a ping with timeout of 10000ms -> No problem Create a loop every 1000ms at the exact second, that I don't understand.
So after 12:00:00 localtime start an event (fork child) at Any clue on how to handle that issue? Thanks in advance
Back to
Seekers of Perl Wisdom
|
|