If you are in Windows OS, then you can code your program to be a
Windows native service. You nee to have Win32::Daemon and take a look
at this URL:

http://www.roth.net/perl/Daemon/

Cheers,
Rex


On 8/17/05, Michael Gale <[EMAIL PROTECTED]> wrote:
> Hello,
> 
>        In the past I have usually written apps that run from start to finish
> and then exit. I now need to write a small app that idealy will continue
> to run as long as the machine is :)
> 
> It needs to make a db, pull some data and do X with the data.
> Then sleep for 90 seconds and repeat the process, is there anything I
> should about writting an app that never exits ??
> 
> Also is there a better way then to create a loop with a sleep command ?
> 
> Thanks
> 
> Michael
> 
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
>

--
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