aboutsummaryrefslogtreecommitdiff
path: root/wrap2.sh
blob: f0d5dcd7674f5616fb9cadf99791f9b57787aa2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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