views:

18

answers:

1

My Zend application is going to get an command line php script that should email reports. There generation depends on Zend_View, Zend_Layout and is currently already working fine in the web interface.

How can I reuse this whole MVC functionality in the command line?

Should I add a new controller CommandLineController and call this somehow from the commandline?

How can I kick of such a Controller manually, without having a HTTP request?

+1  A: 

I would recommend to check out this excelent tutorial for the Zend Framework from the command line:

Tutorial

ArneRie
Just great! Thanks.
Alex