Hi,
there is a good article about a CLI solution with Zend Framework:
http://blog.astrumfutura.com/archives/418-The-Mysteries-Of-Asynchronous-Processing-With-PHP-Part-2-Making-Zend-Framework-Applications-CLI-Accessible.html
Perhaps it is helpful.
Michael
On Dec 10, 2009, at 7:03 PM, Jaco Olivier wrote:
Hi Everyone,
I have been looking far and wide through every possible search
engine and cannot find some “template” that I can use to write a
CRON/BATCH/CLI process that uses the Zend Framework. Everyone has a
different opinion on what is correct.
*Ok, I can manage to hack something together, but would like to do
it the correct way.
If someone has written some batch cli processes, please assist in
guiding me in the right direction.
Basics that will be needed, I think is some bootstrap that will
setup the Autoloader and Setup the required resources etc.
- Don’t see the need to gain access to view and controllers (whole
MVC stack)
Any help will be appreciated.
Jaco Olivier
MfG
Michael Kliewe
[email protected]
------------------------------------------------------------------------------------------
WICHTIGER HINWEIS: Diese E-Mail ist vertraulich und nur für den
angegebenen Empfänger bestimmt. Zugriff, Bekanntmachung,
Vervielfältigung oder Verbreitung des Inhaltes an Dritte ist verboten
und kann eine kriminelle Handlung sein. Bitte löschen Sie diese E-
Mail, wenn Sie nicht der Empfänger sind und benachrichtigen Sie den
Absender.
IMPORTANT NOTICE: This email is confidential and is for the intended
recipient only. Access, disclosure, copying, or distribution on any of
it by anyone else is prohibited and maybe a criminal offence. Please
delete if obtained in error an email confirmation to the sender.