Created
May 11, 2011 15:59
-
-
Save cwarden/966743 to your computer and use it in GitHub Desktop.
track list of twitter followers in git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 13 8 * * * bash -c "(mkdir -p /home/cwarden/twitter; cd /home/cwarden/twitter; git init -q; twidge lsfollowers 2> >(egrep -v 'Bad response: (0|400)' >&2) | sort > followers; git diff followers | ifne mail -s 'New Followers' cwarden@xerus.org; test -z \"\$(git status --porcelain -z followers)\" || (git add followers; git commit -q -m'updated followers' followers ))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment