Created
April 28, 2021 20:26
-
-
Save pas-calc/501e28f021613046c90e13667b32c6d6 to your computer and use it in GitHub Desktop.
Bash simple command to execute command at specific time
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
# example: Press key combination to quit Kazam screen recorder (adapt command as wanted) | |
while true; do echo 'Hit CTRL+C'; sleep 1; if date +%H%M | grep -q "1430"; then echo "exit" && date && xdotool key Control_L+Super_L+f && break; fi; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment