Are there any readily available "Poor man's crontab" implementations (php script called every minute or so) that can be easily integrated into Zend Framework? Preferably utilizing a view script dashboard, for jobs management, populated by controller.
*Edit:
I found a Zend_Scheduler, which appear to do somewhat what I'm after. What's missing is a mechanism to stay self sustained (not rely on external crontabbed wget or similar), but execute on actual page loads.
Is there a suitable place in Zend framework I can piggyback $scheduler->run()
from? Bootstrap::__destruct()
or similar? In order to complete rendering the view, and push to client before any scheduled tasks take place? (So the client won't be affected by any long running taks that might be scheduled.
(Schedule naturally won't be accurate when there are no visitors, but my assumption here is that any scheduled task wouldn't have to be performed if no-one is around to see the result)
*Edit2:
Zend_Scheduler is so old, it's incompatible with newer Zend Framework versions, and thus not working as intended. Are there any other self sustained libraries that can be used for this?