Create run.sh script
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