Posted by ManChild on 09/07/05 03:06
av_nagar@zahav.net.il wrote:
> hello -
>
> I would like to know how do i work with php in windows tasks.
>
> i developed a php web application and i would like to recieve to my
> email every day a certain report which will be produced by a php
> script.
>
> thanks in advance for any help
>
You can use the php.exe to run a script --- I have done so. In
conjunction with the scheduler service you can produce your report - or
at least have PHP run the script to.
Something like the following command should do it.
C:\php\php.exe c:\myapp\myscript.php
I actually use cron for Windows to do this --
http://www.kalab.com/freeware/cron/cron.htm
J
[Back to original message]
|