[Planetlab-users] Not to able get the host name

Manikandan R manikandan.r at greynium.com
Tue Aug 8 01:18:03 EDT 2006


Hi

I need to get the hostname in my script.

I am able to get it when it runs under CLI execution, but it is not the case with cronjob.

Everyday my script will run by cron daemon, at that time i will be getting mails from it and it is not having host name. I used global varaiable [ $GLOBALS ] to get it.

Can someone help me to get the host name when it runs as cronjob?

-----
Mani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.planet-lab.org/pipermail/users/attachments/20060808/8a3f4b74/attachment.html


More information about the Users mailing list