multi-timeout: kill a process and kill -9 if that does not work
We are using this for our crons since the unix timeout command does not support different kill signals
gem i multi_timeout multi-timeout -INT 5m -KILL 6m rake foo:bar
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
We are using this for our crons since the unix timeout command does not support different kill signals
gem i multi_timeout multi-timeout -INT 5m -KILL 6m rake foo:bar
Post a comment