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

Call kill command using an absolute path. Also, update syntax and status codes. #21

Closed bar closed 11 years ago

bar commented 11 years ago

When stopping workers, the kill command syntax issued to exec() is invalid, so an error is returned from exec()

Killing 31284 ... kill: 1: Illegal number: SIGQUIT

and the processes are not killed, but the workers are unregistered, so they can't be seen anymore.

From kill manual page: Your shell (command line interpreter) may have a built-in kill command. You may need to run the command described here as /bin/kill to solve the conflict.

wa0x6e commented 11 years ago

Thanks

bar commented 11 years ago

you are very welcome, thanks to you for this great plugin!