For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > April 2006 > time intervals









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author time intervals
martinasv

2006-04-06, 10:45 am

Hi, everyone!

I've written a Perl script which captures ARP packets and searches for NetBIOS computer names for each IP address it captures.
But now, I'd like it to perform NetBIOS search every 15 minutes.
So, I guess the idea is something like this (not the actual code):

if localtime = localtime+15 min do NetBIOS search


But I can't find anywhere on the Net how to add minutes to localtime.

Please help!

Tnx.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com