Mercurial > hg > cc > azure
comparison workers/bin/_fixAndMerge.sh @ 33:4c117ee8ed75
fixDates, _fixAndMerge, _doFetch
towards rework of date fixup
share.sh, old_invoke.sh
recover the old approach to sharing, which works
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Tue, 20 Nov 2018 14:49:07 +0000 |
parents | 2bde174fe9e2 |
children | ad6eff2bc6f9 |
comparison
equal
deleted
inserted
replaced
32:9342f6269edf | 33:4c117ee8ed75 |
---|---|
8 sleep $pause | 8 sleep $pause |
9 echo \#.$id $(date) starting >> $log | 9 echo \#.$id $(date) starting >> $log |
10 cat > /var/data/in$id | 10 cat > /var/data/in$id |
11 echo \#.$id $(date) got list $(wc -l /var/data/in$id) >> $log | 11 echo \#.$id $(date) got list $(wc -l /var/data/in$id) >> $log |
12 rm -f /var/data/d$id | 12 rm -f /var/data/d$id |
13 xargs -n 100 _doFetch.sh "$@" < /var/data/in$id >/var/data/d$id | 13 xargs -n 16 _doFetch.sh "$@" < /var/data/in$id >/var/data/d$id |
14 echo \#.$id $(wc -l /var/data/d$id) | 14 echo \#.$id $(date) got data $(wc -l /var/data/d$id) >> $log |
15 echo \#.$id $(date) got data >> $log | |
16 fixDates.py < /var/data/d$id | 15 fixDates.py < /var/data/d$id |
17 echo \#.$id $(date) done >> $log | 16 echo \#.$id $(date) done >> $log |
18 | 17 |