> mythshutdown -s 1 -v all | grep 'status returned: 0' >/dev/null Are you sure that's correct? What's the "1" after the "-s"? Shouldn't it be mythshutdown -s -v all | grep 'status returned: 0' >/dev/null