>Jeremy Brant wrote:
>In case you didn't know, you can run PHP scripts without a web server. 
Thanks but... 
Can you do this on NT (Sorry) as well? I am using NT with MySQL in the
CGI configuration.
Shimon

==============================
Shimon Dekel  Israeli Vegetable Board
Information System Manager
2 Karlibach St Tel-Aviv 67132
[EMAIL PROTECTED]   www.yerek.co.il
==============================
 -----Original Message-----
From:   jeremy brand [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, January 16, 2001 8:46 AM
To:     Shimon Dekel
Cc:     '[EMAIL PROTECTED]'
Subject:        Re: [PHP] Running a php script at a giveb time

Sure.  I would use cron.  see crontab(5).  You could also use any other
type of scheduling software.
In case you didn't know, you can run PHP scripts without a web server.
Simply compile php without apache.  Then you can run your script like
this:
/usr/bin/php your_script.php
(if you install the php binary in /usr/bin)

Hope this helps.
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 ::
[EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://www.JEEP-FOR-SALE.com/ -- I need a buyer
On Tue, 16 Jan 2001, Shimon Dekel wrote:
> Date: Tue, 16 Jan 2001 09:16:36 +0200
> From: Shimon Dekel <[EMAIL PROTECTED]>
> To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject:      [PHP] Running a php script at a giveb time
> 
> Hi,
> I need to run a PHP script or a PHP page, few times every morning, say
> 10 times between 7am and 8am every morning to see if a cretin database
> condition is met.
> Is it possible?
> 
> 
> 
> ==============================
> Shimon Dekel  Israeli Vegetable Board
> Information System Manager
> 2 Karlibach St Tel-Aviv 67132
>  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> <http://www.yerek.co.il> www.yerek.co.il
> ==============================
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to