On Tue, 2006-04-04 at 12:52 +1000, James Turnbull wrote:
> 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

First question: are you running under M$ Windows or UNIX?

Second question: does this periodic function relying on data of the main
process?


-- 
__END__

Just my 0.00000002 million dollars worth,
   --- Shawn

"For the things we have to learn before we can do them, we learn by doing them."
  Aristotle

* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to