You can compare the "system up time" vs. the "time of day" at two different points and see either that the system was rebooted in between or how much the time-of-day clock was adjusted during that period:
$bootTime will be the time that the system booted based on the current setting of the time-of-day clock. If it varies by much more than 1.0, then the time has probably been adjusted.use Win32; my $bootTime= time() - Win32::GetTickCount()/1000;
But it sounds like a better solution is to have something interact with an external system that few people have access to adjust the time-of-day clock on.
You can also use "net time \\lazy-bum" from some other computer to see what the time-of-day clock is currently set to on the lazy-bum computer.
- tye (but my friends call me "Tye")In reply to (tye)Re: Perl reading clock changes
by tye
in thread Perl reading clock changes
by NEOGrafix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |