dashboard
repositories
filestore
activity
search
login
ttss
/
mpk-ttss-mapping
TTSS - GTFS vehicle ID mapping
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
Create run.sh script
Jacek Kowalski
2020-11-02
b0b7c6471858421cde54dc34d2779e750446e5a4
[ttss/mpk-ttss-mapping]
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
DIRNAME=$(dirname "$0")
cd "${DIRNAME}"
(
flock -n 200 || exit 1
while true
do
php download.php
sleep 4
done
) 200>./lock