LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-19-2006, 06:10 PM   #1
scardario
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
Resolving doesn't work with cron


Hi, I'm trying to schedule a download task with cron with the next command:

Code:
wget (InternetAdress)/OgreOde.zip
but I get this error:

Code:
Resolving (InternetAdress)... failed: Temporary failure in name resolution.
The strange thing is that the same command typed from a console works fine for root and for an user.
I have the resolv.conf configured this way

Code:
nameserver 200.21.200.2
nameserver 200.21.200.79
search ethereal
what could be the problem?
thanks
 
Old 09-19-2006, 08:54 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Try using the full path to wget.
Code:
#!/bin/bash
/path/to/wget 192.168.3.7/file
exit
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail does not work with cron random_acts Linux - Software 15 04-12-2021 07:31 PM
How do I get a cron job to work? socceroos Linux - Software 2 03-23-2006 04:22 PM
help with cron can't get it to work Jiraiya Linux - General 12 03-07-2006 08:39 PM
Ssh Doesn't Work With Cron ? guano2 Linux - Networking 4 08-06-2005 12:57 AM
/etc/hosts resolving before DNS resolving ? markraem Linux - Networking 4 11-02-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration