Open
Description
My question:
Hi. I wrote a wrapper for resque so I can initialize my environment before starting resque worker. According to docs, worker is triggered from vendor/bin/resque, which means I need to include
, ostensibly, by cd-ing there. Is there some less hacky way recommended to go about this? Consumers of my wrapper may set bin folder to something else that will make it unreliable to hardcode
I just need to programmatically start the worker
My Environment
- PHP-Resque version:
- PHP version:
- Redis version:
- Server type and version:
- Operating System and version: