From 5f251452ef45faea0c9bba77d481d43ab40cbe05 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 3 Apr 2009 11:59:32 +0200 Subject: [PATCH] [ETH] add script to reboot cluster Signed-off-by: Nico Schottelius --- eth/dryad-reboot.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 eth/dryad-reboot.sh diff --git a/eth/dryad-reboot.sh b/eth/dryad-reboot.sh new file mode 100644 index 0000000..d167e0e --- /dev/null +++ b/eth/dryad-reboot.sh @@ -0,0 +1,3 @@ +#!/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"