LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Newby w/crontab or emacs issue (https://www.linuxquestions.org/questions/mandriva-30/newby-w-crontab-or-emacs-issue-279040/)

vrogers64 01-17-2005 06:09 PM

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

sgrayban 01-17-2005 11:05 PM

why are you running runDNS? And second I suggest you make a separate file from crontab stuf and install it using crontab file-name.

vrogers64 01-18-2005 06:51 PM

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.......

nkiiskin 01-20-2005 04:11 AM

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


All times are GMT -5. The time now is 11:33 PM.