wa0x6e / Cake-Resque

Resque plugin for CakePHP : for creating background jobs that can be processed offline later
MIT License
159 stars 56 forks source link

Include a way to define php-resque event handler #99

Open doshu opened 8 years ago

doshu commented 8 years ago

nowadays there is no way to define the event handler for jobs failure. php-resque have an event handler system that can bind some callable when an event was thrown

the events should be set in a file and included via APP_INCLUDE APP_INCLUDE in cake-resque is defined when the worker is launched and there is no way to edit

it should be pretty if there was a way to define a startup function for every worker where initialize event system