working with php as script in windows tasks

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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

thanks in advance for any help

Re: working with php as script in windows tasks wrote:
Quoted text here. Click to load it

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 --


Site Timeline