3 WORKING_DIR="/home/SOC.NORTHWESTERN.EDU/bmh1867/covid19"
7 date_string=$(date +%Y%m%d)
9 revs_log="enwp-revisions-${date_string}.log"
10 ./wikipedia/scripts/wikiproject_scraper.py 2> >(tee wikipedia/logs/${revs_log})
12 ./wikipedia/scripts/fetch_enwiki_revisions.py 2> >(tee -a wikipedia/logs/${revs_log})
13 mv wikipedia/logs/${revs_log} /var/www/covid19/wikipedia/logs/
15 revs_tsv="digobs_covid19-wikipedia-enwiki_revisions-${date_string}.tsv"
16 mv wikipedia/data/${revs_tsv} /var/www/covid19/wikipedia
18 revs_json="digobs_covid19-wikipedia-enwiki_revisions-${date_string}.json"
19 xz wikipedia/data/${revs_json}
20 mv wikipedia/data/${revs_json}.xz /var/www/covid19/wikipedia