RE: [PHP] CRON JOB
| From: | Miguel Cruz | Date: | Wed, 17 Jul 2002 17:30:19 +0000 |
| Subject: | RE: [PHP] CRON JOB | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-108125@lists.php.net to get a copy of this message | ||
On Wed, 17 Jul 2002, Jay Blanchard wrote:
> Look at the archives for the past couple of days, it has been covered in
> some detail. Make sure to compile PHP without apsx, and for practical
> purposes move the PHP executable to the /usr/local/bin directory. Then put
> this as the first line of the PHP file you want to run from a CRON;
>
> #!/usr/local/bin/php
>
> Then set up your CRON.
Might want to add the -q flag to the php bangpath invocation.
miguel