nsbin/eth/dryad-reboot.sh

4 lines
163 B
Bash
Raw Normal View History

#!/bin/sh
# Reboot the entire cluster & send mail to me
dsh -g dryad -c "(uptime; dmesg) | mail -s \"\$(hostname) down at \$(date)\" nicosc@inf.ethz.ch && reboot"