[BLUG] BASH Time Synchronization Command?

Bob Boyken blug_at_mailman.cs.indiana.edu
Tue, 23 Jan 2007 15:29:58 -0500


--Apple-Mail-35-150953568
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=ISO-8859-1;
	delsp=yes;
	format=flowed

I normally use ntpdate in a cron job with an entry similar to this:

0 1 * * * /usr/sbin/ntpdate ntp.indiana.edu

Bob Boyken
bob_at_boyken.org



On Jan 23, 2007, at 3:24 PM, Simon Ruiz wrote:

> The lack of an install process means a very noticeable problem on =20
> our workstations: TIME.
>
> Without a time synch that usually happens during installation (at =20
> least that's my working theory), the workstations are left =20
> displaying incorrect times.
>
> I was hoping I could add a line to my workstation setup bash script =20=

> to correct for this glaring issue, but I only know how to do this =20
> visually in GNOME.
>
> Any ideas?
>
> Have a great day!
>
> Sim=F3n
>
> _______________________________________________
> BLUG mailing list
> BLUG_at_linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug


--Apple-Mail-35-150953568
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV>I normally use ntpdate in a =
cron job with an entry similar to this:</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>0 1 * * * /usr/sbin/ntpdate =
ntp.indiana.edu</DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Bob =
Boyken</DIV><DIV><A =
href=3D"mailto:bob_at_boyken.org">bob_at_boyken.org</A></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><BR =
class=3D"Apple-interchange-newline"></SPAN> </DIV><BR><DIV><DIV>On Jan =
23, 2007, at 3:24 PM, Simon Ruiz wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">The lack of an install process means a very =
noticeable problem on our workstations: TIME.</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Without =
a time synch that usually happens during installation (at least that's =
my working theory), the workstations are left displaying incorrect =
times.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">I was hoping I could add a line to my workstation =
setup bash script to correct for this glaring issue, but I only know how =
to do this visually in GNOME.</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Any ideas?</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Have a =
great day!</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Sim=F3n</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; =
">_______________________________________________</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">BLUG mailing list</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A =
href=3D"mailto:BLUG_at_linuxfan.com">BLUG_at_linuxfan.com</A></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><A =
href=3D"http://mailman.cs.indiana.edu/mailman/listinfo/blug">http://mailma=
n.cs.indiana.edu/mailman/listinfo/blug</A></DIV> =
</BLOCKQUOTE></DIV><BR></BODY></HTML>=

--Apple-Mail-35-150953568--