Skip to content

Instantly share code, notes, and snippets.

@haruki7049
Last active October 25, 2023 11:44
Show Gist options
  • Save haruki7049/81259b7573dd88b7734fe747cced3cb9 to your computer and use it in GitHub Desktop.
Save haruki7049/81259b7573dd88b7734fe747cced3cb9 to your computer and use it in GitHub Desktop.
alarm="aplay ~/any-sound.wav" # 任意のコマンドに変更するが良い!!
d=`date '+%M'`
while sleep 10; do
if [ $d -eq 00 ]; then
$alarm
break
else
echo "not yet..."
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment