1

I am using the below library

https://github.com/chrisboulton/php-resque

How to cancel the running job. I tried to get the worker object and kill the child..but the object does not have any child.

sooners
  • 133
  • 1
  • 9

1 Answers1

0

I dont have enough rep to put this in a comment and not an answer, but maybe this will help you: http://engineering.hoteltonight.com/killing-stale-or-stuck-resque-jobs

wbrugato
  • 1,329
  • 10
  • 18
  • Is there any method in the library that kills the process..instead of using command line? – sooners Sep 03 '14 at 21:48
  • kill -9 'pid_number' ?? although you will need to know pid number of specific job – wbrugato Sep 03 '14 at 21:55
  • i was expecting php-resque had a method to kill it...so kill is for unix command line right? yes i can get the pid from the Resque_Worker object. – sooners Sep 03 '14 at 22:03