Method: Resque::WebRunner#kill!
- Defined in:
- lib/resque/web_runner.rb
#kill! ⇒ Object
228 229 230 231 232 233 234 |
# File 'lib/resque/web_runner.rb', line 228 def kill! pid = File.read(pid_file) logger.warn "Sending #{kill_command} to #{pid.to_i}" Process.kill(kill_command, pid.to_i) rescue => e logger.warn "pid not found at #{pid_file} : #{e}" end |