bug-gnu-utils
[Top][All Lists]
Advanced

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

error while using crond


From: Christian 'CBE' Benner
Subject: error while using crond
Date: Mon, 8 Sep 2003 22:59:43 +0200

Dear gawk team,

I have a little problem and I guess it's a mistake on my side.
A wrote a message to Paul Vixie which could'nt help me in this case and
he's forwarding
me to your address whit my problem.

Now the problem:

I wrote a little bash script which gets an IP address (see the follwoing
line)

EXTIP=`/sbin/ifconfig eth0| /bin/awk '/Adresse/ { gsub(".*:", "", $2) ;
print $2 }'`;

If I run the script manually from shell it works fine
and $EXTIP reports the IP address given from ifconfig.

If the script is started from crond  with:

0-59/5 * * * * root /etc/ppp/ip-up.local >>/var/log/cron-ip-up

the $EXTIP is empty.

I asked in several groups but nobody knows something about this.

Have you any hint ?


Thanks in advance for your help.


Regards

Chris


--
The information transmitted is intended only for the person 
or entity to which it is addressed and may contain confidential and/or
privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received
this in error, please contact the sender and delete the material from
any computer.
You have asked us to correspond with you via the Internet per e-mail.
However, the written version signed by us is the only authoritative
version. We draw your attention to the fact that such 
messages can be lost, changed or falsified, with or without any
interference by third persons.
Normal e-mails are not protected against access by third persons and,
therefore, their confidentiality may not be assured in certain
circumstances. We cannot be responsible for the integrity of 
emails after they have left our sphere of control. We shall not, 
therefore, indemnify you for any damages resulting out of these
circumstances. If, 
despite our use of anti-virus software, a virus enters your systems in 
connection with the sending of the e-mail, you may not hold us liable
for any damages that
may possibly arise in that connection. We will accept liability which by
law we cannot exclude.

************************************************************************
*APD-IT, NOC - HAMBURG, GERMANY                                        *
*                                                                      *
*Tel: +49 (0) 40 64860-364                                             *
*Fax: +49 (0) 40 64860-759                                             *
************************************************************************

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]