2 changed files with 7 additions and 4 deletions
@ -1,14 +1,14 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
echo ----- automatic update $(date +%F-%H-%M) -------- |
echo ----- automatic update $(date +%F-%H-%M) -------- |
||||
cd /root/git/ |
cd /root/git/ |
||||
git pull |
git pull |
||||
|
|
||||
# download Covid-Cases for Austria based on age groupes |
# download Covid-Cases for Austria based on age groupes |
||||
wget --output-document=./CovidFaelle_Altersgruppe-$(date +%F-%H-%M).csv https://covid19-dashboard.ages.at/data/CovidFaelle_Altersgruppe.csv 2>&1 |
wget --output-document=./CovidFaelle_Altersgruppe-$(date +%F-%H-%M).csv https://covid19-dashboard.ages.at/data/CovidFaelle_Altersgruppe.csv 2>&1 |
||||
|
|
||||
git add data |
git add * |
||||
git commit -m 'automatic update' |
git commit -m 'automatic update' |
||||
git push origin |
git push origin |
||||
|
|
||||
echo ------------------------------------------------ |
echo ------------------------------------------------ |
||||
echo |
echo |
||||
|
|||||
Loading…
Reference in new issue