Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: Re[2]: RE: Reboot incrontab
@ 2001-08-08 11:35 g.j.kuiper
  2001-08-08 13:35 ` Helge Kreutzmann
  0 siblings, 1 reply; 8+ messages in thread
From: g.j.kuiper @ 2001-08-08 11:35 UTC (permalink / raw)
  To: axp-list

Why use ntp at all ? The hardware clock is fine - otherwise rebooting
wouldn't help either. So just setting the system time from the hardware
clock should be sufficient. The command for that can be found somewhere in
the rc files.




^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: RE: Reboot incrontab
  2001-08-08  8:05 ` Re[2]: " Peter Bech
@ 2001-08-08 10:10 Helge Kreutzmann
  2001-08-08 10:44 ` Re[2]: " Peter Bech
  2 siblings, 1 reply; 8+ messages in thread
From: Helge Kreutzmann @ 2001-08-08 10:10 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]

Hello !
On Wed, Aug 08, 2001 at 10:05:21AM +0200, Peter Bech wrote:
> Ineiti wrote:
> I should answer you directly to avoid beinmg diculed, but it's because the 
> clock is not running correctly on the DS10. Reboot adjusts it correctly.

No need to reboot here. Simply add:
18 * * * *  /usr/sbin/ntpdate -s YourFavoriteTimeServer
in your crontab (i.e. as root crontab -e).

Either you set up a local time server (maybe you can get the german
radio signal and pick up a radio controlled clock and attach it to one
of your machines) or check out public time servers. Simply search for
it on google and you'll find sites like:

http://www.eecis.udel.edu/~mills/ntp/servers.html

with more information.

kreutzm@menkar:~[568] % rpm -qf /usr/sbin/ntpdate
xntp3-5.93-14
(on RH 6.2 Intel).

Regards

          Helge
-- 
Helge Kreutzmann, Dipl.-Phys.               Helge.Kreutzmann@itp.uni-hannover.de
         For gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: RE: Reboot incrontab
@ 2001-08-07 13:40 Linus Gasser
  2001-08-08  8:05 ` Re[2]: " Peter Bech
  0 siblings, 1 reply; 8+ messages in thread
From: Linus Gasser @ 2001-08-07 13:40 UTC (permalink / raw)
  To: axp-list

Hi,
ok, just my 2 cents: could it be that you're lacking a final CR? Just for the 
simplest, most stupid error possible ;-)

Ineiti

PS: And why, oh why, do you want to reboot your linux-machine once a day? I 
always thought this is just needed on Win* !?!

On Tuesday 07 August 2001 15:32, you wrote:
> It's in the system crontab /etc/crontab. The other lines work fine.
>
> Heres the whole lot:
>
>
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
> # Hent posten
> # 05 0,3,6,9,10,11,12,13,14,15,16,17,18,21 * * * root /etc/hentpost.sh
>
> >/dev/null 2>/dev/null
>
> 3,12,21,39,46,57 * * * * root /etc/hentpost.sh >/dev/null 2>/dev/null
> 30 0 * * 0 root /backup/bak_week.sh >/backup/backup_week.log  2>/dev/null
> #30 0 * * 3 root /backup/bak_wed.sh >/backup/backup_wed.log  2>/dev/null
> # Reboot system
> 0 7 * * * root /backup/reboot.sh >/backup/reboot.log




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-08-08 13:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08 11:35 Re[2]: RE: Reboot incrontab g.j.kuiper
2001-08-08 13:35 ` Helge Kreutzmann
  -- strict thread matches above, loose matches on Subject: below --
2001-08-08 10:10 Helge Kreutzmann
2001-08-08 10:44 ` Re[2]: " Peter Bech
2001-08-08 11:23   ` Mike A. Harris
2001-08-07 13:40 Linus Gasser
2001-08-08  8:05 ` Re[2]: " Peter Bech
2001-08-08  8:43   ` Danilo Godec
2001-08-08 10:15   ` Mike A. Harris
2001-08-08 12:34   ` David Bremner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox