loosely-coupled-dss/results/scheduler/analysis.sh
2021-06-08 09:58:37 +02:00

14 lines
No EOL
291 B
Bash
Executable file

#!/usr/bin/env bash
wai=$(dirname $(readlink -f "$0")) # Current script directory
log=$1
out=$2
# Generate csv
cat $log | $wai/data.awk > $wai/data.csv
cat $log | $wai/hint.awk > $wai/hint.csv
cat $log | $wai/hint_fw.awk > $wai/hint_fw.csv
Rscript $wai/wakeup.R
mv $wai/schedule.png $out