[TYPO3-windows] Windows "cronjobs" / command line for indexed search / crawler

Karl-Ernst Kiel kekiel at kekiel.de
Tue Jun 6 14:55:45 CEST 2006


Hi!

This is, what finally made the cli-script "crawler_cli.phpsh" work on 
Windows 2003 Server/IIS 6/php5:

1.) Change line 13 in "typo3conf/ext/crawler/cli/crawler_cli.phpsh":
define('PATH_thisScript',$_ENV['_']?$_ENV['_']:$_SERVER['_']);
into
define('PATH_thisScript',$_SERVER['argv'][0]);

2.) Add a backend user "_cli_crawler" (with random password and no other 
options enabled).

3.) Always call the script using the full path and (unix-style) slashes, 
e.g.:

C:\php\php.exe C:/mywebspace/typo3conf/ext/crawler/cli/crawler_cli.phpsh

Best regards,
Karl-E.



More information about the TYPO3-windows mailing list