Posted by J.O. Aho on 01/11/06 15:34
Marcel wrote:
> Actually we call a batch-file from our scheduled task. In that batch-file we
> call an instance of the browser calling the https url of the php file. The
> problem with that is that sometimes instances of IE are not closed after
> script execution. This makes us need to check that all the time because many
> open IE's windows can end up in a severe reduction of server-performance.
Does the script have any code in it that REQUIRES that it's run on a web
browser? (not talking about HTML tags that are generated in the script, but
code that really checks things up like sessions and such things).
If it don't require such things, then run it locally
php.exe C:\apache\localhost\htdocs\yourscript.php
If you have stuff that requires a web browser to access the script to make it
to work, then use wget
Official homepage:
http://www.gnu.org/software/wget/wget.html
Downloads Microsoft Windows version:
http://space.tin.it/computer/hherold/
Download Microsoft qDos version:
http://www.rahul.net/dkaufman/
//Aho
Navigation:
[Reply to this message]
|