From 421201b01686fb4aae94a6a4b21623ef99d2580f Mon Sep 17 00:00:00 2001 From: frankknoll Date: Fri, 13 May 2022 21:28:39 +0200 Subject: [PATCH] updating daily script --- src/help.txt | 2 +- ...nsivstationen.sh => intensivstationen_howbadismybatch.sh} | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) rename src/{intensivstationen/intensivstationen.sh => intensivstationen_howbadismybatch.sh} (64%) diff --git a/src/help.txt b/src/help.txt index 56adcc055c2..b75d630a76c 100644 --- a/src/help.txt +++ b/src/help.txt @@ -21,7 +21,7 @@ FK-TODO: - Alle Charts mit Slidern versehen? 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 diff --git a/src/intensivstationen/intensivstationen.sh b/src/intensivstationen_howbadismybatch.sh similarity index 64% rename from src/intensivstationen/intensivstationen.sh rename to src/intensivstationen_howbadismybatch.sh index 5e779b49ee9..19e57229f50 100755 --- a/src/intensivstationen/intensivstationen.sh +++ b/src/intensivstationen_howbadismybatch.sh @@ -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 html Intensivstationen.nbconvert.ipynb 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