LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 01-17-2005, 06:09 PM   #1
vrogers64
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Newby w/crontab or emacs issue


When trying to schedule RunDNS updates with crontab, I first get the message that the crontabs file must be created. Here's the blow-by-blow.

export EDITOR=emacs
crontab -e

I then get the loading empty file message and emac launches.

In emacs I type: 0,10,20,30,40,50 * * * * /usr/local/bin/rundns /etc/rundns.conf > /dev/null

I select save current buffer, but when I close emacs I get the "no changes made in crontab message".

Looks to me like this is probably a file location issue, but I do not see how one would "set" the directory or path.

Any help greatly appreciated
 
Old 01-17-2005, 11:05 PM   #2
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
why are you running runDNS? And second I suggest you make a separate file from crontab stuf and install it using crontab file-name.
 
Old 01-18-2005, 06:51 PM   #3
vrogers64
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
I'm running RunDNS to monitor my IP and update DNS server (DynDNS) in the event of an IP address change. ISP provides IP address via DHCP.

Anyway, as I've been playing/learning/getting to know how this OS works, I've noticed that the rundns.conf provided with RunDNS is done in HTML - all other .conf files listed as regular text. Don't know it that's that problem, but I can't get the program to load at boot up either. Only way I've been able to get it to run is with "command rundns /etc/rundns.conf".

Probably going to try another Dynamic DNS client at this point.......
 
Old 01-20-2005, 04:11 AM   #4
nkiiskin
LQ Newbie
 
Registered: Jan 2005
Location: Finland
Posts: 1

Rep: Reputation: 0
Lightbulb No crontab with RunDNS

Hi all,

I am the author of RunDNS and i happened to see this subject here, so i decided to answer.

You don't need crontab at all with RunDNS.
Check http://rundns.dyndns.org for version 0.61 if you like to.
The current version runs as a background process and updates always when
needed.

Regards,

-N
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
where is the .emacs file in the emacs source code tarball? aizkorri Programming 2 01-13-2007 02:05 PM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
crontab issue lappen Linux - Newbie 6 05-24-2004 05:47 PM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration