Run command on server stop in Ruby on Rails

Posted by yuval on Stack Overflow See other posts from Stack Overflow or by yuval
Published on 2010-06-01T04:05:25Z Indexed on 2010/06/01 4:13 UTC
Read the original article Hit count: 216

Filed under:
|
|
|

If I want to run a script on server start, I put the code in an initializer. Where would I put code that I want to run on server stop?

Thanks!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby