diff --git a/testing/time_notifications b/testing/time_notifications index aeded4a0..89b14bc9 100755 --- a/testing/time_notifications +++ b/testing/time_notifications @@ -9,7 +9,12 @@ loop() { } TIMEFORMAT="%R" -for i in $(ls bin); do +if [ -n "$1" ]; then + list="$1" +else + list=$(ls bin) +fi +for i in $list; do freq=`grep "byobu-status $i" ./profiles/common | awk '{print $3}'` echo -n "$i $freq " time loop $i