summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-10-28 13:17:34 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-10-28 13:17:34 +0200
commit4c996879ae0a7e2909fafffb6bd1b374613289bb (patch)
tree131c32203c789ccac2227968678e98eea3770f9c
parentd9141f3d707a01b3cb07dd4af89166907a036277 (diff)
Minor changes
-rwxr-xr-x.clusterman.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.clusterman.sh b/.clusterman.sh
index 68db849..9c86313 100755
--- a/.clusterman.sh
+++ b/.clusterman.sh
@@ -12,3 +12,7 @@ to=$3
wai=$(dirname $(readlink -f "$0")) # Current script directory
source ${wai}/config.mk
+# Compute intervals
+ifrom=$(echo $from $LOG_INTERVAL | awk '{print($1-($1%$2))}')
+ito=$(echo $to $LOG_INTERVAL | awk '{print($1-($1%$2))}')
+