Update update.sh

This commit is contained in:
hlohaus 2025-06-14 18:24:42 +02:00
parent 44040773a5
commit 60854f0857

View file

@ -1,6 +1,15 @@
#!/usr/bin/env bash
while :
do
python -m etc.tool.update
sleep 600
control_c() {
kill $PID
exit
}
trap control_c SIGINT
while true ; do
python -m etc.tool.update
sleep 600 | while read line ; do
PID=$!
echo $line
...
done