🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.os.linux
Article #602

Re: Crontab en ntpdate

#602
From: Selious
Date: Wed, 16 Jun 1999 00:00
20 lines
1062 bytes
Ik heb in /bin een script staan dat heet syndate:

#!/bin/sh
/usr/sbin/ntpdate -b 193.78.240.12     # I added -b, so server rules time !!
/sbin/hwclock --utc --systohc

Dit script zal via ntp1.nlnet.nl (oid) de tijd opvragen !!

Dit is een officiele ntp server !!

Het tweede commando zal je hardware-clock gelijk zetten !!


Vervolgens crontab -e

en toevoegen de regel:

*/30 * * * *    /bin/syncdate

Elke 30 minuten zal de tijd worden gesynchroniseerd
Technical Details
Message-ID: <7k7mds$182$1@thor.wirehub.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3766E60E.42D07C1B@casema.net>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 1049e4,7d5161eebf63a6ad
X-Google-Attributes: gid1049e4,public
X-Google-Thread: fb7d6,7d5161eebf63a6ad
X-Google-Attributes: gidfb7d6,public
From: "Selious" <selious@selious.dyn.ez-ip.net>
Subject: Re: Crontab en ntpdate
Date: 1999/06/16
Message-ID: <7k7mds$182$1@thor.wirehub.nl>
X-Deja-AN: 490170665
References: <3766E60E.42D07C1B@casema.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Wirehub! Internet
X-MSMail-Priority: Normal
Newsgroups: nl.comp.os.linux,casema.linux