diff --git a/examples/usage_reports_to_adw/shell_scripts/run_single_daily_usage2adw.sh b/examples/usage_reports_to_adw/shell_scripts/run_single_daily_usage2adw.sh index c8827e5f4e..15b663f1a2 100755 --- a/examples/usage_reports_to_adw/shell_scripts/run_single_daily_usage2adw.sh +++ b/examples/usage_reports_to_adw/shell_scripts/run_single_daily_usage2adw.sh @@ -39,7 +39,7 @@ export OUTPUT_FILE=${REPORT_DIR}/${DATE}.txt # execute using instance principles echo "Running ... to $OUTPUT_FILE and screen" -python3 $APPDIR/usage2adw.py -ip -du $DATABASE_USER -dp $DATABASE_PASS -dn $DATABASE_NAME -d $MIN_DATE -ts "${TAG1_SPECIAL} -ts2 "${TAG2_SPECIAL}" | tee -a $OUTPUT_FILE +python3 $APPDIR/usage2adw.py -ip -du $DATABASE_USER -dp $DATABASE_PASS -dn $DATABASE_NAME -d $MIN_DATE -ts "${TAG1_SPECIAL}" -ts2 "${TAG2_SPECIAL}" | tee -a $OUTPUT_FILE grep -i "Error" $OUTPUT_FILE echo "Finished at `date` "