Re: Daemon with a PHP file
| From: | Phillip Bow | Date: | Wed, 21 Mar 2001 19:25:56 +0000 |
| Subject: | Re: Daemon with a PHP file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44987@lists.php.net to get a copy of this message | ||
Unless you have the php executable associated with the .php3 extension(not
the web server association mind you) then you would need to pass the file as
a command line argument to the executable.
0 8 * * * "/usr/local/bin/php /home/users/sebas/citas.php3"
Depending on the location of the php executable I believe this would work.
--
phill
""Renzi, Sebastian"" <srenzi@codes.com.ar> wrote in message
news:A1581797259FD211B25E00805FCBC1FA1E4B8C@SRV_DES_01...
> Hello my name is Sebastian ,i'm from Argentina ,this is my first question
> in this list.I would like to know how to run a php file every day at 8 AM
> , my intention was to create a cron with the crontab command.Something
> like this ...
>
> 0 8 * * * /home/users/sebas/citas.php3
>
> but this doesnt work ,do u know how to do this ? ,thanks
>
> Sebastián Renzi
> Consultoría & Desarrollo de Sistemas.
> CODES S.A
>
--
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