RE: [PHP-WIN] Re: PHP and batch-files
| From: | Gustav Wiberg | Date: | Fri, 01 Jun 2007 12:38:00 +0000 |
| Subject: | RE: [PHP-WIN] Re: PHP and batch-files | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28035@lists.php.net to get a copy of this message | ||
Hi there!
Where/how do I install that?
Best regards
/Gustav Wiberg
-----Original Message-----
From: Elizabeth Smith [mailto:emsmith@elizabethmariesmith.com]
Sent: Friday, June 01, 2007 2:30 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Re: PHP and batch-files
Gustav Wiberg wrote:
> Hi there!
>
> I want to use PHP to run as a "batch-file" on the server every night. What are the
> alternatives for doing this.
> I'm using II6 and Win2003 Server, and PHP as an ISAPI-module. (vers 5.2.2)
>
> Best regards
> Gustav Wiberg
The easiest way to do this would be to simply install the cli binary as
well - php.exe (NOT php-cgi.exe) which doesn't need a webserver - and do
a scheduled task that calls "path to your cli"/php.exe "path to your
script here" - I use php a lot on windows for generic scripting tasks.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php