summaryrefslogtreecommitdiff
path: root/.clusterman.sh
diff options
context:
space:
mode:
Diffstat (limited to '.clusterman.sh')
-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))}')
+