STARTD_CRON_NAME = CRON
STARTD_CRON_JOBLIST = SHIVAM_IP
STARTD_CRON_SHIVAM_IP_EXECUTABLE = /home/bigbang/temp.sh
STARTD_CRON_SHIVAM_IP_PERIOD = 2s
temp.sh contains
#!/bin/sh
get_ip()
{
/sbin/ifconfig eth1 $1 | awk -F"inet addr:" {'print $2'} | awk -F" " {'print $1'} | grep -oE "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+"
}
ip=`get_ip`
echo "ShivamIp = $ip"
When I checked my Log File it says
Can't insert 'ShivamIp = 127.0.0.1' into 'SHIVAM_IP' ClassAd
please help me
--
Regards
Shivam Tiwari
CISE Department
University of Florida,
Gainesville FL 32611
Email -
shivam@xxxxxxxxxxxx
shivam.tiwari2009@xxxxxxxxx