#!/bin/bash while true do ./smartplug.sh hs100-lights.mario check ./smartplug.sh hs100-monitors.mario check sleep 2m done