[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Email Advice after reboot



"Revd leonard payne" <vicarage@xxxxxxxxxxxxxx> wrote:
> Very Seldomly my Raq4i reboots either by myself or by my colo.
> 
> How can I get a quick and dirty email sent to myself immediately after a
> reboot as the last task. This would remind me to restart all those pesky
> tasks that need to be run from root, like RealServer etc

Quick and dirty - add the following to the end of /etc/rc.d/rc.local:

mail -s "Server rebooted" alias@xxxxxxxxxx

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/