No commit activity in last 3 years
No release in over 3 years
Dedicated to hamsters running in wheels everywhere -> Simple usermode process watcher - stay secure avoid root
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

 Project Readme

Hamster¶ ↑

Simple process monitor -

Used to check if a process is running - if it insn't execute some ruby code

see ./bin/hamster –help for all the arguments that it takes

Example¶ ↑

hamster –callback “%x{echo ”Rails is Dead“ | mail -s rails_is_dead me@ram9.cc}” –watch ‘Rails:’ –callback-message ‘emailing you some fyi’ –delay 1

samples.

Put this in a cronjob to run every minute and you have a very simple, robust way to detect missing jobs

This is not a replacement for more robust excellent froody things like Daemontools - but it is a simple way to
make sure a important background job is running in userland - without muking about with root

Fin¶ ↑

Copyright © 2011 Curtis Schofield. See LICENSE for details.