You are here: Re: Excecute PHP script in SSL protected dir / sched. task on win 2k3 server « All PHP « IT news, forums, messages
Re: Excecute PHP script in SSL protected dir / sched. task on win 2k3 server

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация