aboutsummaryrefslogtreecommitdiff
path: root/wrap2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wrap2.sh')
-rwxr-xr-xwrap2.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/wrap2.sh b/wrap2.sh
new file mode 100755
index 0000000..f0d5dcd
--- /dev/null
+++ b/wrap2.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# end value: 21260965
+test -z "${ENDVALUE}" && ENDVALUE=21260965
+
+# run1 start value: 19899000
+# run2 start value: 19903845
+test -z "${STARTVALUE}" && STARTVALUE=19903845
+
+test -z "${LOGFILE}" && LOGFILE=~/dev/vooblystats/files/run2.csv
+
+echo "" > "${LOGFILE}"
+{
+ printf "%s %s\n" "START" "$( date -u "+%FT%TZ" )"
+ ./vooblystats.py --start "${STARTVALUE}" --end "${ENDVALUE}"
+ printf "%s %s\n" "END" "$( date -u "+%FT%TZ" )"
+} 2>&1 | tee -a "${LOGFILE}"
bgstack15