From 96caef0225b585192270a140e9c22ca1104172bd Mon Sep 17 00:00:00 2001 From: Gustavo Date: Mon, 20 Nov 2023 02:37:12 +0100 Subject: [PATCH 1/2] correcting cleanlogs to delete clean err out. Closes #117 --- PrivSim/2018UL/single-run/cleanlogs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PrivSim/2018UL/single-run/cleanlogs.sh b/PrivSim/2018UL/single-run/cleanlogs.sh index 68d535b..fe37063 100644 --- a/PrivSim/2018UL/single-run/cleanlogs.sh +++ b/PrivSim/2018UL/single-run/cleanlogs.sh @@ -2,5 +2,7 @@ # clean error logs: for i in `ls ./err`; do rm -rf ./err/${i}/*; done +rm -rf ./err/*.out +rm -rf ./err/*.err # clean dag logs: rm -rf *.dag.* From 63830f6681f7f19ea66eba011aa8b2db96774e5d Mon Sep 17 00:00:00 2001 From: Gustavo Date: Mon, 20 Nov 2023 02:37:38 +0100 Subject: [PATCH 2/2] simplifying mail message --- PrivSim/2018UL/single-run/common/sendmail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PrivSim/2018UL/single-run/common/sendmail.sh b/PrivSim/2018UL/single-run/common/sendmail.sh index 3e5f91b..8e20a72 100755 --- a/PrivSim/2018UL/single-run/common/sendmail.sh +++ b/PrivSim/2018UL/single-run/common/sendmail.sh @@ -6,7 +6,7 @@ TMPDIR=/tmp/ job=$( basename "`ls *.dag`" .dag ) -mail -s "${job} :: step ${step} FINISHED" $email <<< "STEP \ +mail -s "step ${step} FINISHED" $email <<< "STEP \ ${step} HAS FINISHED AND FILES CAN BE FOUND AT \ YOUR OUTPUT AREA."