run controller action from console command


I wrote a controller action which perform certain updates I usually will run by CLI, but occasionally can run via web.

So the console command action should just call the web controller.

I found I can use CController::forward, but it seems to work from web only because looks for getModule.

How can I call the action from cli command?