Skip to content

Instantly share code, notes, and snippets.

@whilp
Created July 7, 2011 20:11
Show Gist options
  • Save whilp/1070435 to your computer and use it in GitHub Desktop.
Save whilp/1070435 to your computer and use it in GitHub Desktop.
Pattern: distributed, deterministic kicks
$ dsh -gHOSTGROUP 'echo /sbin/service foo restart | sudo at now + $(hostname | hashrange 60) minutes'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment