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 bootstrap file. I then access the actions Id like to do directly by calling methods of models. Eg a file "jobs.php" which loads all your needed classes (ZF, models). Which then for example does something like: require_once 'Comment.php'; Comment::removeOldComments(); Sincerely, reto -- View this message in context: http://www.nabble.com/Cronjobs-with-ZF-tp19667341p19667906.html Sent from the Zend Framework mailing list archive at Nabble.com.
