What about the added requirement: "I want to do this in php."?
And I don't as obviously as you see the need this to run
inside a window? Is this a kind of restriction on php, or?
//Anders - very ignorant about php
> -----Original Message-----
> From: Mike Brum [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 25, 2003 2:21 PM
> To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Re: php as exe in windows
>
>
> There's a few problems with that - Let's say someone closes the window it's
> running in - then it's gone. Or let's say there's an error and it haults or
> Windows just messes up (Windows - mess up? - never!).
>
> With the Scheduled Task option, you can add limits on how long it's going to
> run and other options. It's just a lot more stable.
>
> Not to mention that if you poorly write the PHP script - it will consume A
> LOT of memory!
>
> -Mike
>
> -----Original Message-----
> From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 25, 2003 8:11 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Re: php as exe in windows
>
>
> > > I want to create an application that I can run on my web-server every five
> > > minutes. The application should look in my ftp-catalogue and move incomming
> > > files to other directories. I want to do this in php. Is it possible - and
> > > in that case - how?
>
> Why not simply loop forever and execute your task and sleep for 5 minutes
> inside the loop fore each iteration? Can't be that hard to write such a script.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php