|
Home > Archive > Linux Debian support > September 2006 > NTPdate
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Sheridan Hutchinson 2006-09-20, 7:14 am |
| Hi,
I installed NTPdate on my Debian (Testing) and have set a a cron job to
periodically synchronise the time. There's just one irritation and
that's on bootup NTPdate tries to sync and I don't want this to happen;
I just want it to run according to the cron settings.
Any idea how one would go about prevening NTPdate from running on
startup? I'm fresh to Linux/Debian so could do with a pointer!
--
·''`. Regards,
: :' : Sheridan Hutchinson
`. `' Sheridan@Shezza.org
`-
| |
| Klaus Zerwes 2006-09-20, 7:14 am |
| Sheridan Hutchinson wrote:
> Hi,
>
> I installed NTPdate on my Debian (Testing) and have set a a cron job to
> periodically synchronise the time. There's just one irritation and
> that's on bootup NTPdate tries to sync and I don't want this to happen;
> I just want it to run according to the cron settings.
>
> Any idea how one would go about prevening NTPdate from running on
> startup? I'm fresh to Linux/Debian so could do with a pointer!
update-rc.d -f ntpdate remove
man update-rc.d
Klaus
| |
| Sheridan Hutchinson 2006-09-20, 1:13 pm |
| Andreas Janssen wrote:
> Klaus Zerwes (<kzerwes@web.de> ) wrote:
>
> This way upgrading ntpdate will recreate the symlinks.
> Remove /etc/rcS.d/S*ntpdate instead, or alternatively set
>
> NTPSERVERS=""
>
> in /etc/default/ntpdate
Hi there,
Thank you both for your solutions, it's now no longer running when I
otherwise wouldn't like it to, thank you 
--
·''`. Regards,
: :' : Sheridan Hutchinson
`. `' Sheridan@Shezza.org
`-
| |
| Paul Johnson 2006-09-23, 7:14 am |
| Sheridan Hutchinson wrote:
> I installed NTPdate on my Debian (Testing) and have set a a cron job to
> periodically synchronise the time.
That's not a good way to synchronize your clock. ntpdate is good for the
first synch, but it won't keep it synched like a proper synchronization
daemon will.
> There's just one irritation and that's on bootup NTPdate tries to sync and
> I don't want this to happen; I just want it to run according to the cron
> settings.
You're just using the wrong tool for the job entirely. Try chrony instead.
--
Paul Johnson
Email and IM (XMPP & Google Talk): baloo@ursine.ca
--
Posted via a free Usenet account from http://www.teranews.com
|
|
|
|
|