James Turnbull wrote:
Hi
Anyone know of a way to create a loop (or something similar) that
automatically schedules the execution of a sub-routine periodically
from within a program, for example execute check() every 600 seconds
or the like? The program would be running as a daemon on the host.
Sorry - probably didn't make that clear:
The mainline program is monitoring something - every x seconds I wish to
execute a subroutine from within the mainline and return to the mainline
after executing the subroutine to continue the monitoring.
Regards
James Turnbull
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>