14 lines
500 B
Bash
Executable file
14 lines
500 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# We have some very rudimentary command line processing, which we
|
|
# share with run-board-inventory.
|
|
|
|
SCRIPT_DIR=$(dirname $(readlink -f $0))
|
|
cd $SCRIPT_DIR/..
|
|
. contrib/inventory_options
|
|
|
|
# Let's balance out the pools for the deputies before sending the eMail.
|
|
BALANCE_POOL_LOG=balance_pool.log.$(date +%Y-%m-%d)
|
|
site_utils/balance_pools.py --all-boards all_critical_pools &> logs/dut-data/$BALANCE_POOL_LOG
|
|
|
|
site_utils/lab_inventory.py $OPTIONS "${BOARD_NOTIFY[@]}" "${POOL_NOTIFY[@]}"
|