avalonmediasystem/avalon — pull request #250 by cjcolvar (2014-02-13 14:36:27+00:00)
Title: Simple bash script wrapping rake with locking via pid file in tmp/pids

Adds locking outside of the Rails context to avoid having to load the full context to apply locking. This should prevent a stacking up of batch ingest cron jobs that brought lancelot down a few times due to the the time necessary to load the Rails environment.