Posted by Marcel on 01/11/06 16:14
"J.O. Aho" <user@example.net> schreef in bericht
news:42kfqkF1i9rdeU1@individual.net...
> 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
>
I fact there's nothing that requires a webbrowser for my script.... it seems
that the problem is/are the files i include in the script with
require_once() .........but i do not know why....
Navigation:
[Reply to this message]
|