I have a command I need to invoke from my server.
when I type at a shell prompt:
/usr/bin/wget 'http://myserver/imp/index.php'
the command runs fine.
When I create a cron job usng the webmin interface:
I get:
Output from command /usr/bin/wget 'http://myserver/imp/index.php' ..
--11:12:55--
http://myserver/imp/index.php
=> `index.php'
Resolving myserver... failed: Name or service not known.
Why does this work at shell, and fail as cron? I'm executing the job as myself.