RE: [PHP] Running a php script at a giveb time
| From: | Shimon Dekel | Date: | Tue, 16 Jan 2001 09:11:35 +0000 |
| Subject: | RE: [PHP] Running a php script at a giveb time | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34775@lists.php.net to get a copy of this message | ||
>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
shimon@yerek.co.il www.yerek.co.il
==============================
-----Original Message-----
From: jeremy brand [mailto:jeremy@nirvani.net]
Sent: Tuesday, January 16, 2001 8:46 AM
To: Shimon Dekel
Cc: 'php-general@lists.php.net'
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 ::
jeremy@nirvani.net
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 <shimon@yerek.co.il>
> To: "'php-general@lists.php.net'" <php-general@lists.php.net>
> 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:shimon@yerek.co.il> shimon@yerek.co.il
> <http://www.yerek.co.il> www.yerek.co.il
> ==============================
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
php-list-admin@lists.php.net
>
>