Mercurial > hg > cc > azure
view 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 |
line wrap: on
line source
#!/bin/bash # Usage: [cat remote filenames] | _fixAndMerge.sh id home pause log id=$1 home=$2 pause=$3 log=$4 # Don't all start at once sleep $pause echo \#.$id $(date) starting >> $log cat > /var/data/in$id echo \#.$id $(date) got list $(wc -l /var/data/in$id) >> $log rm -f /var/data/d$id xargs -n 16 _doFetch.sh "$@" < /var/data/in$id >/var/data/d$id echo \#.$id $(date) got data $(wc -l /var/data/d$id) >> $log fixDates.py < /var/data/d$id echo \#.$id $(date) done >> $log