Skip to content

Instantly share code, notes, and snippets.

@kbuckler
Created October 6, 2009 23:57
Show Gist options
  • Save kbuckler/203581 to your computer and use it in GitHub Desktop.
Save kbuckler/203581 to your computer and use it in GitHub Desktop.
#!/bin/bash
PERIOD=60
while [ 1=1 ];
do
rake jobs:work &
sleep $PERIOD
echo Killing $!
kill $!
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment