<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>I played with that way back in the 90's...yeah,
plenty easier these days.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>GeorgeC</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=dshaw@ke6upi.com href="mailto:dshaw@ke6upi.com">David KE6UPI</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=george@dyb.com
href="mailto:george@dyb.com">George Csahanin</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=app_rpt-users@ohnosec.org
href="mailto:app_rpt-users@ohnosec.org">app_rpt-users@ohnosec.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 27, 2010 11:55
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [App_rpt-users] setting
time</DIV>
<DIV><BR></DIV>Has anyone tried gpsd???<BR><BR><A
href="http://gpsd.berlios.de/">http://gpsd.berlios.de/</A><BR><BR><BR>David<BR><BR>
<DIV class=gmail_quote>On Mon, Dec 27, 2010 at 9:44 AM, George Csahanin <SPAN
dir=ltr><<A href="mailto:george@dyb.com">george@dyb.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Ken, what I do is use ntpdate to set time, and fire it off
by cron...<BR><BR>40 0,4,8,12,16,20 * * * /usr/sbin/ntpdate 65.68.232.27 (my
time server)<BR><BR>also tried netdate in place of ntpdate, though not on
the ACID distro.<BR><BR>GeorgeC<BR><BR><BR>Message: 4<BR>Date: Mon, 27 Dec
2010 11:55:48 -0500<BR>From: "Ken" <<A href="mailto:ke2n@cs.com"
target=_blank>ke2n@cs.com</A>><BR>To: <<A
href="mailto:app_rpt-users@ohnosec.org"
target=_blank>app_rpt-users@ohnosec.org</A>><BR>Subject: [App_rpt-users]
astdn.sh from crontab<BR>Message-ID:
<000801cba5e6$ea508e00$bef1aa00$@com><BR>Content-Type: text/plain;
charset="us-ascii"<BR><BR>I would like to sync the clock of my node every
once in a while (like once a<BR>week)<BR><BR>To do this I am
using:<BR><BR>ntpd -q<BR><BR>I found that this kills one of my fobs (stops
updating)<BR><BR><BR><BR>So - I thought that I would just stop asterisk, do
the time sync and start<BR>Asterisk again.<BR><BR><BR><BR>I run this
script from
crontab<BR><BR><BR><BR>/usr/local/bin/astdn.sh<BR><BR>/usr/sbin/ntpd
-q<BR><BR>/usr/local/bin/astup.sh<BR><BR><BR><BR>But when it gets to line 6
of astdn.sh (service asterisk stop) it throws an<BR>error and does not
really stop Asterisk. So it kills the fob.<BR><BR><BR><BR>I am thinking this
error has something to with the environment that crontab<BR>runs things in .
how to fix?<BR><BR><BR><BR>Tnx<BR><BR>Ken<BR><BR><BR>George J
Csahanin<BR>W2DB<BR>Cedar Park, TX
<BR><BR>_______________________________________________<BR>App_rpt-users
mailing list<BR><A href="mailto:App_rpt-users@ohnosec.org"
target=_blank>App_rpt-users@ohnosec.org</A><BR><A
href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users"
target=_blank>http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</A><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>