time

karlp at ourldsfamily.com karlp at ourldsfamily.com
Fri Dec 22 17:11:36 UTC 2006


On Fri, December 22, 2006 4:18 am, luis ld. diaz wrote:
> Hi,
> Ok just with date 122212172006
> It works
>
> Thanks

I setup a cron job with the following two lines:

0 3,6,9,12,15,18,21 * * * /usr/bin/rdate -s Valid.Time.Server.COM
5 3,6,9,12,15,18,21 * * * /sbin/clock -w

The first line runs daily at 3am, 6am, etc. Find a valid time server on the
internet, such as clock.psu.edu, or time.nist.gov, if they are close enough to
you. The second line writes the time to the PCs hardware clock. If those
commands aren't found, you can install them from the CD, I believe, though on
your version of Redhat, I'm not sure which packages they are in.


HTH,

Karl

>
>
>
>
> Luis Díaz
> Técnico de Sistemas
> Library Technology
> ldiaz at greendata.es
>
>
>
>
> Este mensaje, y la información adjunta, es confidencial y de uso restringido.
> Si no es uno de los destinatarios señalados, por favor informenos,borre y
> destruya el original y todas las copias del mensaje. No copie, reenvie y/o
> revele este mensaje, total o parcialmente, sin autorización del emisor.
>
> This message, including attachments, is confidential and privileged. If you
> are not an intended recipient, please notify us, delete and destroy the
> original message and all copies. You not copy, forward and/or disclose this
> message, in whole or in part, without permission of the sender.
>
>
>
>
> -----Mensaje original-----
> De: redhat-install-list-bounces at redhat.com
> [mailto:redhat-install-list-bounces at redhat.com] En nombre de Michael Velez
> Enviado el: viernes, 22 de diciembre de 2006 11:07
> Para: 'Getting started with Red Hat Linux'
> Asunto: RE: time
>
>
>
>> -----Original Message-----
>> From: redhat-install-list-bounces at redhat.com
>> [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of luis ld.
>> diaz
>> Sent: Friday, December 22, 2006 5:48 AM
>> To: Getting started with Red Hat Linux
>> Subject: time
>>
>> Hello,
>> how to change time in a red hat ES 3 server, if I do not with the
>> server, I only have access to SSH terminal
>>
>> I try
>> redhat-config-time
>> but in this window I do not have time field to change it.
>> Thanks to help
>>
>>
>>
>> Luis Díaz
>
> You can do this on the command line with the 'date' command I believe.
>
> Check out:
> $ man date
>
> Michael
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>


-- 
karl
     _/  _/      _/      _/_/_/       ____________   __o
    _/ _/       _/      _/    _/     ____________  _-\<._
   _/_/        _/      _/_/_/                     (_)/ (_)
  _/ _/       _/      _/           ......................
 _/   _/ arl _/_/_/  _/ earson    KarlP at ourldsfamily.com
---
Senior Consulting Sys/DB Analyst
http://consulting.ourldsfamily.com
---
 My Thoughts on Terrorism In America right after 9/11/2001:
 http://www.ourldsfamily.com/wtc.shtml
---
 The world is a dangerous place to live... not because of
 the people who are evil, but because of the people who
 don't do anything about it.
 - Albert Einstein
---




More information about the Redhat-install-list mailing list