20/04/00 11:11:44 AM
Guys I need a hand.. and I'm in a bit of a hurry for it.. :-/
I've just found out I'm going to be out of town for 5 days by the end of today and 
what I want is to find out what 
my servers IP addy is while i'm away, by getting it to e-mail a copy of a ifconfig 
report to my e-mail addy 
[EMAIL PROTECTED]
The way I thought I could do it is by doing this in my crontab :

# auto mail test
* */5 * * * ifconfig > /opt/currentip
* */6 * * * echo /opt/currentip |mail [EMAIL PROTECTED]

But it doesn't work :-(
I want it to do an ifconfig every 5 hours and dump it into the file /opt/currentip    
then an hour after that I want 
it to email the contents of that file so I may access my server remotely any time I 
want... (its a dialup 56k 
modem, no static addy but nearly 24/7 connection)
I have 4 hours left to get this working.. Many thanks to any that can help me out and 
MUCH KUDOS! to the 
ones that can make it work.. :-)
Thanks for your time ppls..
Marcus



================Sig Start==================
Motto for the I.T. Industry:
BIGGER, <i>faster</i>, <b>more</b>, <u>NOW!</u>
Thought for the future:
If you thought the Y2k Bug was a media frenzie, 
just you wait till the IPv6 issue is announced...
================Sig Stop==================



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to