4
0
Fork 1
forked from encrypt/toot

repeat after file finished

This commit is contained in:
ekardnam 2019-02-19 12:57:34 +00:00
parent 56d5d1caaf
commit c508258722

View file

@ -1,13 +1,18 @@
SLEEP_INTERVAL=3h
#
# Last line should be empty, so we dont need an additional read here
# after the while loop
#
while read line
while :
do
#
# Last line should be empty, so we dont need an additional read here
# after the while loop
#
while read line
do
echo "[INFO] Now tooting: $line"
./toot.sh $line >/dev/null 2>&1 &
sleep ${SLEEP_INTERVAL}
done < megafono.txt
done < megafono.txt
done