I'm using Zend_Queue with the database adapter. And i have a job daemon running that checks the the queue regularly and executes jobs.
One need I have is to delay the execution of some jobs until precisely a certain amount of time has passed. I see each message has a timeout field in the table. But it doesn't seem as though Zend_Queue allows a way of setting this at the time you send a message to the queue (in other words, a timeout specific to that message). I'm think the approach is to extend the Zend_Queue class and simply add this parameter to the send method. And then I would add that many seconds to the timeout field for that job. And I suppose it could be tens of thousands of seconds just fine (if it were weeks off, say). I wondered if this functionality is achievable in a simpler way currently and if anyone has any thoughts on this particular approach. Thanks! Eddie -- View this message in context: http://www.nabble.com/Zend_Queue-and-delayed-jobs-tp26053039p26053039.html Sent from the Zend Framework mailing list archive at Nabble.com.
