4 date_string=$(date +%Y%m%d)
6 view_log="enwp-daily_views-${date_string}.log"
7 ./wikipedia/scripts/wikiproject_scraper.py 2> >(tee wikipedia/logs/{$view_log})
9 # get the list of files
10 ./wikipedia/scripts/fetch_enwiki_daily_views.py 2> >(tee -a wikipedia/logs/${view_log})
11 mv wikipedia/logs/${view_log} /var/www/covid19/wikipedia/logs/${view_log}
12 mv wikipedia/data/digobs_covid19-wikipedia-enwiki_dailyviews-${date_string}.tsv /var/www/covid19/wikipedia/
14 # xz wikipedia/data/digobs_covid19-wikipedia-enwiki_dailyviews-${date_string}.json
15 mv wikipedia/data/digobs_covid19-wikipedia-enwiki_dailyviews-${date_string}.json /var/www/covid19/wikipedia/