I am trying to figure out how to open and close IE to run a PHP page on a daily run.Not sure what to do once I get to the "Start a Program" section of the task wizard to achieve this.
|
feedback
|
|
You need to invoke php with your script as an argument:
The | |||
|
feedback
|
|
If you can, run your php script locally (as SmallClanger suggests); create a .bat script so you link this .bat into task scheduler. If you must call the php page remotely, create always a bat script with this line: "C:\Program Files\Internet Explorer\iexplore.exe" www.yourdomain.com/page.php If you want to close the Internet explorer windows, try with Windows Script Host and WScript.Shell object. | |||||||
feedback
|