Skip to content

Instantly share code, notes, and snippets.

@luigi
Created August 4, 2010 20:04
Show Gist options
  • Save luigi/508696 to your computer and use it in GitHub Desktop.
Save luigi/508696 to your computer and use it in GitHub Desktop.
`pidof delayed_job.0 | xargs kill -9` if `pidof delayed_job.0` != `cat pids/delayed_job.0.pid`
`pidof delayed_job.1 | xargs kill -9` if `pidof delayed_job.1` != `cat pids/delayed_job.1.pid`
`pidof delayed_job.2 | xargs kill -9` if `pidof delayed_job.2` != `cat pids/delayed_job.2.pid`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment