Jacek Kowalski
2020-11-02 b0b7c6471858421cde54dc34d2779e750446e5a4
Create run.sh script
1 files added
16 ■■■■■ changed files
run.sh 16 ●●●●● patch | view | raw | blame | history
run.sh
New file
@@ -0,0 +1,16 @@
#!/bin/sh
DIRNAME=$(dirname "$0")
cd "${DIRNAME}"
(
flock -n 200 || exit 1
while true
do
    php download.php
    sleep 4
done
) 200>./lock