Created
May 2, 2022 15:47
-
-
Save horaciod/5559f2b71c35e0dd001ddc063d80487b to your computer and use it in GitHub Desktop.
toma screenshot y envia a telegram
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 | |
sleep 3 | |
while true | |
do | |
gnome-screenshot -f /tmp/algo.png | |
./telegram-notify.sh --success --texto "pantalla" --photo /tmp/algo.png | |
rm /tmp/algo.png | |
sleep 300 | |
echo "enviado cada 5 minutos" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment