4
0
Fork 1
forked from encrypt/toot
MastodonMegafono/megafono_bot.sh

13 lines
249 B
Bash
Raw Normal View History

2019-02-19 13:53:09 +01:00
SLEEP_INTERVAL=3h
#
# 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