Re: Raspuns: [PHP] Cron + PHP

From: Date: Fri, 09 Feb 2001 08:19:13 +0000
Subject: Re: Raspuns: [PHP] Cron + PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38917@lists.php.net to get a copy of this message
or even better; compile PHP as CGI in addition to an Apache module, and put it somewhere in the path. You can then set cron to: 0 20 * * * php -q myphpfile.php > results_to_this_file.txt This could be useful if you need to run a script that is not available on the web-server, for instance. -J ----- Original Message ----- From: "Ovidiu EFTIMIE" <eovidiu@rds.ro> To: "GAYTAN BAHAMONDEZ DANIEL EDUARDO" <dgaytan@cec.uchile.cl>; <php-general@lists.php.net> Sent: Friday, February 09, 2001 8:31 AM Subject: [PHP] Raspuns: [PHP] Cron + PHP > 0 20 * * * lynx -dump http://localhost/file.php > every day at 20:00 this file will be executed > > > Ovidiu > > -----Mesaj original----- > De la: GAYTAN BAHAMONDEZ DANIEL EDUARDO [mailto:dgaytan@cec.uchile.cl] > Trimis: Friday, February 09, 2001 12:37 AM > Catre: php-general@lists.php.net > Subiect: [PHP] Cron + PHP > > > How can i make a crontab run a php file??? > should i add something like this in the file: > > path/to/file.php ???? > > > Thanks in advance... > > > -- > 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 > > > -- > 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 >

« previous php.general (#38917) next »