nsbin/eth/dryad-reboot.sh
Nico Schottelius 5f251452ef [ETH] add script to reboot cluster
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-04-03 11:59:32 +02:00

3 lines
163 B
Bash

#!/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"