Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1cc88e6ef4
3 changed files with 10 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
out
|
||||
downloaded.lst
|
||||
delojza.log
|
||||
|
|
1
robot.sh
1
robot.sh
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd ${DIR}
|
||||
./update.sh &
|
||||
python3 delojza.py 2>&1 |tee -a out/delojza.log
|
||||
|
|
7
update.sh
Executable file
7
update.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
while :;do
|
||||
NUM=$( grep 'INFO - Downloading' delojza.log|wc -l)
|
||||
echo $NUM
|
||||
curl -s 'kunsaxan.sdbs.cz/counter.php?key=delojza7953713b19ef2ea055156c8dc175bf80&count='$NUM
|
||||
sleep 300;
|
||||
done
|
Loading…
Reference in a new issue