[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re:Email Advice after reboot
- Subject: [cobalt-users] Re:Email Advice after reboot
- From: Charlie Summers <charlie@xxxxxxxxxx>
- Date: Sat Feb 23 01:44:11 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
At 3:38 PM -0500 2/22/02, Revd leonard payne is rumored to have typed:
> 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
At the bottom of /etc/rc.d/rc.local you can call a shell or perl script to
send you the email.
But _here's_ a novel idea...why don't you just put those "pesky tasks"
down there instead of sending yourself mail, so you DON'T HAVE TO DO IT
MANUALLY IN THE FIRST PLACE! In the case of the RealServer, for example, just
add:
# Basic RealAudio Server...
cd /usr/bin/RealServer
Bin/rmserver rmserver.cfg &
...to the bottom of rc.local, and *poof* - you don't have to do it
manually. You can add anything else you want there (loading additional
ipchain rules, etc., etc., etc.).
Since this isn't a Cobalt issue but rather a sysadmin issue, you might
want to read the various linux HOWTOs to understand how the OS boots.
Charlie