Re: [fw-general] Cronjobs with ZF

2008-09-25 Thread Benjamin Eberlei
this blog post here offers one solution: http://webfractor.wordpress.com/2008/08/14/using-zend-framework-from-the-command-line/ On Thursday 25 September 2008 13:02:00 José de Menezes Soares Neto wrote: > I am using Zend Framework to develop a web system. > It has a function (let's call it "funcA"

Re: [fw-general] Cronjobs with ZF

2008-09-25 Thread keith Pope
ZF is by default setup for a Http environment this means that you get: Http Request Object Http Response Object So to do what you want you need to use the Cli response object, and you may need create your own Request object. Look at the request object abstract. The request object holds data to de

Re: [fw-general] Cronjobs with ZF

2008-09-25 Thread retoreto
José de Menezes Soares Neto wrote: > > I am using Zend Framework to develop a web system. > It has a function (let's call it "funcA") required to run periodically. > Thus, I would like to use crontab (Linux command) to run "funcA" every 15 > m. > I'm doing this by just creating a simplified bo

Re: [fw-general] Cronjobs with ZF

2008-09-25 Thread José de Menezes Soares Neto
Hi Till, Could you explain your solution a little bit more? Regards, José 2008/9/25 till <[EMAIL PROTECTED]> > On Thu, Sep 25, 2008 at 1:02 PM, José de Menezes Soares Neto > <[EMAIL PROTECTED]> wrote: > > I am using Zend Framework to develop a web system. > > It has a function (let's call it "

Re: [fw-general] Cronjobs with ZF

2008-09-25 Thread till
On Thu, Sep 25, 2008 at 1:02 PM, José de Menezes Soares Neto <[EMAIL PROTECTED]> wrote: > I am using Zend Framework to develop a web system. > It has a function (let's call it "funcA") required to run periodically. > Thus, I would like to use crontab (Linux command) to run "funcA" every 15 m. > > U

[fw-general] Cronjobs with ZF

2008-09-25 Thread José de Menezes Soares Neto
I am using Zend Framework to develop a web system. It has a function (let's call it "funcA") required to run periodically. Thus, I would like to use crontab (Linux command) to run "funcA" every 15 m. Unfortunately, it seems that there are some configurations on the bootstrap file, I need to access