Added start scripts

This commit is contained in:
2022-08-09 12:30:36 +02:00
parent 71d1efa82b
commit a29fd26046
5 changed files with 50 additions and 1 deletions

17
loop.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# You can cd to your directory here, if you want
# cd /home/user/TelegramPoster
while true
do
python main.py
echo "To completely stop TelegramPoster now, please press Ctrl+C during the countdown!"
echo "Restarting in:"
for i in 5 4 3 2 1
do
echo "$i..."
sleep 1
done
echo "TelegramPoster has started!"
done