Last active
May 3, 2018 00:00
-
-
Save EmilVarona/7d5823c971b33232290d07c318cafd80 to your computer and use it in GitHub Desktop.
bash alarm clock
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
#!/bin/bash | |
# "say" command is used on Mac OS X. Chose your own alert mechanism. | |
# FYI: my system is using military time | |
while [[ $(date "+%H%M") -lt 1650 ]]; do | |
printf '%s' "." #optional, for visual tracking | |
sleep 10 | |
done && say "done, mother fucker, I am done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment