RE: [PHP-WIN] Re: php as exe in windows

From: Date: Tue, 25 Mar 2003 13:52:54 +0000
Subject: RE: [PHP-WIN] Re: php as exe in windows
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-19124@lists.php.net to get a copy of this message
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:php@crazyted.com] > Sent: Tuesday, March 25, 2003 2:21 PM > To: Svensson, B.A.T. (HKG); php-windows@lists.php.net > 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:B.A.T.Svensson@lumc.nl] > Sent: Tuesday, March 25, 2003 8:11 AM > To: php-windows@lists.php.net > 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.

« previous php.windows (#19124) next »