Re: Best way to start a CRON
| From: | nicolas figaro | Date: | Thu, 20 Apr 2006 09:11:01 +0000 |
| Subject: | Re: Best way to start a CRON | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234342@lists.php.net to get a copy of this message | ||
Barry a écrit :
Hello Everyone! What would be the best way to start a PHP Script via CRONJOB? Should i use the 'php' command or use curl or lynx or something to open that URL? Hi,unless you need to be sure the http server is up and running, it's a better way to run your script via a cronjob. N F
The Script does a MySQL query, collects data and sends it via E-Mail every monday morning to the recipient. Any help will be appriciated :) Barry