[TYPO3-dev] CLI

Dmitry Dulepov dmitry at typo3.org
Tue Apr 7 14:51:13 CEST 2009


Hi!

Laurent Albertini wrote:
> I am working with TYPO3 4.2.6 and i am trying to launch a PHP script
> using the CLI mode.
> I tried the methode with cli_dispatch.phpsh , but i failed to make work
> the system.

Failed?.. How exactly?

> There was some lines of scripts  i have to comment to sucess to launch
> my php script.

This is definitely a wrong way to go.

> But do you have any advice on the first problem ?

I have two ;) Firsts, tell us what exactly is the problem. Saying "failed" actually says nothing. There should be a error message at least. Secondly, take a look how other extensions work. Here is one simple example of CLI script:

http://typo3.org/extensions/repository/view/yafi/current/info/cli%252Fcli_yafi.php/

-- 
Dmitry Dulepov
In TYPO3 blog: http://dmitry-dulepov.com/article/google-analytics-certified.html
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs




More information about the TYPO3-dev mailing list