Created
July 13, 2017 19:46
-
-
Save 3rdp/e8ee51d07db6332a3fa4b62c9d358a47 to your computer and use it in GitHub Desktop.
This file contains 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 | |
ALARM='today 22:45' | |
SOUND='/home/sasha/Музика/' | |
sudo rtcwake -d rtc0 -m mem -t $(date +%s -d "$ALARM") -v && vlc -L $SOUND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello,
was looking for ways to make my pc an alarm, then saw this and it worked fine.
I into linux, can you recommend any book or tutorial to learn bash?
Thanks