Re: Need to Run a PHP script using CRON or ?
| From: | Jonathan Villa | Date: | Tue, 16 Sep 2003 12:27:02 +0000 |
| Subject: | Re: Need to Run a PHP script using CRON or ? | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30526@lists.php.net to get a copy of this message | ||
Well, I performed a simple test...
I created a file in a dir outside of my webroot with a simple
echo phpinfo();
I then simply /usr/local/bin/php phptest.php
it worked... great... next attempt is the CRON, which I am assuming will
work...
On Tue, 2003-09-16 at 06:58, Martin Marques wrote:
> El Lun 15 Sep 2003 17:47, Jonathan Villa escribió:
> > I believe this would need php to installed as a cgi, which I prefer not
> > to do...
>
> If you don't want to because of security resons, please install it and don't
> leave it in the hands of the web server.
> If you don't want to go through the problem of compiling, then you might think
> about finding on the net a binary PHP for you operating system.
>
>
> --
> 08:55:02 up 25 days, 45 min, 4 users, load average: 0.71, 0.51, 0.50
> -----------------------------------------------------------------
> MartÃn Marqués | mmarques@unl.edu.ar
> Programador, Administrador, DBA | Centro de Telematica
> Universidad Nacional
> del Litoral
> -----------------------------------------------------------------