aboutsummaryrefslogtreecommitdiff
path: root/wrap2.sh
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-02-03 11:13:44 -0500
committerB Stack <bgstack15@gmail.com>2020-02-03 11:13:44 -0500
commitb056c0f6d7099251ef1015783b55354636117fc3 (patch)
tree8a8bdd7567081b095e360fc4b42c3dc5bc4f37eb /wrap2.sh
parentinitial commit (diff)
downloadvooblystats-b056c0f6d7099251ef1015783b55354636117fc3.tar.gz
vooblystats-b056c0f6d7099251ef1015783b55354636117fc3.tar.bz2
vooblystats-b056c0f6d7099251ef1015783b55354636117fc3.zip
add python version, and some example wrapper scripts
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