[fw-general] Periodic operations through cron with Zend

2008-12-03 Thread Vahe Oughourlian
Greetings, On our previous project, we had several operations (processing of a job queue, snapshoting, etc) done through a cronjob. Being that the previous codebase was written in straight php, all the includes and such for connecting to the database and whatnot had to be done by hand,

Re: [fw-general] Periodic operations through cron with Zend

2008-12-03 Thread Karol Grecki
Vahe You don't need anything special to do it with Zend. Just include your bootstrap in a script file and write any code you need. If your boostrap contains some MVC specific code you may want to extract it into another file or create a separate bootstrap for scripts etc. I personally use an