forked from encrypt/toot
18 lines
No EOL
277 B
Bash
Executable file
18 lines
No EOL
277 B
Bash
Executable file
|
|
SLEEP_INTERVAL=3h
|
|
|
|
|
|
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 |