mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Update update.sh
This commit is contained in:
parent
44040773a5
commit
60854f0857
1 changed files with 13 additions and 4 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue