Re: Running a php script at a giveb time
| From: | jeremy brand | Date: | Tue, 16 Jan 2001 06:46:27 +0000 |
| Subject: | Re: Running a php script at a giveb time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34772@lists.php.net to get a copy of this message | ||
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
>
>