[TYPO3-dev] HowTo: Running a cronscript using TYPO3 with CLI

Steffen Ritter info at rs-websystems.de
Sun Jan 6 13:51:43 CET 2008


Martin Kutschker schrieb:
> Osipov Dan schrieb:
>> Right, I have no problems scheduling script execution, but I am having 
>> problems executing cli_dispatch.phpsh. It doesn't seem to work...
>>  
>> That's why it would be helpful if a how to guide for a cron setup also 
>> included a section for Windows users.
> 
> Wait, on Windows you have at least to use a full path to your script 
> like "php C:\www\typo3\cli_dispacth.php". But I think it's broken 
> completely. Have a look at the Core list archive for suggestions how to 
> fix this.
> 
> Masi
I think you can't call the script directly without changing it on 
windows. Because of the first line which is unix style interpreter name. 
Remove this line, so that the dispatcher.phpsh is only php code, and it 
should work(if you call with the full path as said before).

Steffen




More information about the TYPO3-dev mailing list