Re: how to exucute PHP file automatically on Window NT4.0 scheduler
| From: | Steve Perrin' | Date: | Sat, 19 May 2001 11:28:56 +0000 |
| Subject: | Re: how to exucute PHP file automatically on Window NT4.0 scheduler | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7749@lists.php.net to get a copy of this message | ||
Hi Lalit,
You should have no problem in running your script.
Just create a batch file, change drive then directory and add PHP
YOURSCRIPT.PHP.
eg: DOIT.BAT
@ECHO OFF
D:
CD\PHP4
PHP YOURSCRIPT.PHP
EXIT
Then use the AT command to invoke the batch file at the times required.
""Lalit"" <l.surajiwale@anpl-india.net> wrote in message
news:9e5b96$hgs$1@toye.p.sourceforge.net...
> I am working with PHP, Mysql on WINDOWS NT4.0.(IIS 4.0)
> My problem is regarding Window Scheduler. I want to send mail every day at
> perticular time to the email address list stored in Mysql database
> automatically. The subject and mail body is also stored in database.
> Window scheduler invokes only executable files, not php file in which I
have
> written queries and mail function.
>
> Does anybody know the solution ?
> Thanks
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>