Re: PHP Command Line Syntax
| From: | Advanced | Date: | Sun, 28 Apr 2002 19:58:49 +0000 |
| Subject: | Re: PHP Command Line Syntax | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13368@lists.php.net to get a copy of this message | ||
CRON
"Scott Dowd" <scottdowd@optusnet.com.au> wrote in message
news:20020428191812.46132.qmail@pb1.pair.com...
> I would like to schedule a series of PHP pages to run overnight from a
> Win2k/IIS/PHP4 box. An example of the url is
>
> http://localhost/checklist/checksingle.php?servername=SERVERNAME.
> When I
try
> to execute this from a DOS prompt, "C:\PHP\PHP.EXE -q checksingle.php" it
> works fine, but when I add "?servername=SERVERNAME" as in the url, it does
> not recognize the command.
>
> "PHP Fatal error: Unable to open checksingle.php?servername=SERVERNAME in
> Unknow
> n on line 0"
>
> Is this the best way to schedule a PHP page to run ?
>
> Thanks,
> Scott.
>
>