updating daily script

This commit is contained in:
frankknoll
2022-05-13 21:28:39 +02:00
parent 3c7fc70a37
commit 421201b016
2 changed files with 6 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ FK-TODO:
- Alle Charts mit Slidern versehen? - Alle Charts mit Slidern versehen?
anacron job: anacron job:
sudo cp src/intensivstationen/intensivstationen.sh /etc/cron.daily/intensivstationen sudo cp src/intensivstationen_howbadismybatch.sh /etc/cron.daily/intensivstationen_howbadismybatch
man 5 fcrontab man 5 fcrontab

View File

@@ -5,4 +5,9 @@ cd /home/frankknoll/Dokumente/Corona/projects/HowBadIsMyBatch-pages/src/intensiv
jupyter nbconvert --to notebook --allow-errors --execute Intensivstationen.ipynb jupyter nbconvert --to notebook --allow-errors --execute Intensivstationen.ipynb
jupyter nbconvert --to html Intensivstationen.nbconvert.ipynb jupyter nbconvert --to html Intensivstationen.nbconvert.ipynb
mailx -a 'Content-Type: text/html' -s "Intensivstationen" -r Knoll_Frank@web.de Knoll_Frank@web.de < Intensivstationen.nbconvert.html mailx -a 'Content-Type: text/html' -s "Intensivstationen" -r Knoll_Frank@web.de Knoll_Frank@web.de < Intensivstationen.nbconvert.html
cd /home/frankknoll/Dokumente/Corona/projects/HowBadIsMyBatch-pages/src
jupyter nbconvert --to notebook --allow-errors --execute HowBadIsMyBatch.ipynb
jupyter nbconvert --to html HowBadIsMyBatch.nbconvert.ipynb
mailx -a 'Content-Type: text/html' -s "How Bad is My Batch" -r Knoll_Frank@web.de Knoll_Frank@web.de < HowBadIsMyBatch.nbconvert.html
EOF EOF