Skip to content

Instantly share code, notes, and snippets.

@garbados
Created February 7, 2013 16:22
Show Gist options
  • Save garbados/4732069 to your computer and use it in GitHub Desktop.
Save garbados/4732069 to your computer and use it in GitHub Desktop.
Writes to crontab a command that, at the beginning of every hour, reads aloud the result of `fortune`. Problem: overwrites existing crontab.
echo "00 * * * * `which fortune` | say" | crontab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment