#!/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}"