nsbin/eth/dryad-reboot.sh
Nico Schottelius 7995b5202b updated ikn-backup to use power of ccollect
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-04-17 19:59:01 +02:00

3 lines
163 B
Bash
Executable file

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