Skip to content

Instantly share code, notes, and snippets.

@hashbrowncipher
Created January 21, 2015 17:19
Show Gist options
  • Save hashbrowncipher/7f7e6075a64bdb037b67 to your computer and use it in GitHub Desktop.
Save hashbrowncipher/7f7e6075a64bdb037b67 to your computer and use it in GitHub Desktop.
a wrapper for touch(1)ing a file when a job succeeds, developed at Yelp
#!/bin/bash
set -eu
name="$1"
shift
"$@"
touch "/var/lib/success_wrapper/${name}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment