1#!/bin/bash 2 3# We have some very rudimentary command line processing, which we 4# share with run-model-inventory. 5 6SCRIPT_DIR=$(dirname $(readlink -f $0)) 7cd $SCRIPT_DIR/.. 8. contrib/inventory_options 9 10# Let's balance out the pools for the deputies before sending the eMail. 11BALANCE_POOL_LOG=balance_pool.log.$(date +%Y-%m-%d) 12ARGS=( --production --all-models all_critical_pools ) 13site_utils/balance_pools.py "${ARGS[@]}" &> logs/dut-data/$BALANCE_POOL_LOG 14 15site_utils/lab_inventory.py $OPTIONS "${POOL_NOTIFY[@]}" 16