3 lines
		
	
	
	
		
			163 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			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"
							 |