[App_rpt-users] setting time
george at dyb.com
Mon Dec 27 12:44:25 EST 2010
Ken, what I do is use ntpdate to set time, and fire it off by cron...
40 0,4,8,12,16,20 * * * /usr/sbin/ntpdate 184.108.40.206 (my time server)
also tried netdate in place of ntpdate, though not on the ACID distro.
Date: Mon, 27 Dec 2010 11:55:48 -0500
From: "Ken" <ke2n at cs.com>
To: <app_rpt-users at ohnosec.org>
Subject: [App_rpt-users] astdn.sh from crontab
Content-Type: text/plain; charset="us-ascii"
I would like to sync the clock of my node every once in a while (like once a
To do this I am using:
I found that this kills one of my fobs (stops updating)
So - I thought that I would just stop asterisk, do the time sync and start
I run this script from crontab
But when it gets to line 6 of astdn.sh (service asterisk stop) it throws an
error and does not really stop Asterisk. So it kills the fob.
I am thinking this error has something to with the environment that crontab
runs things in . how to fix?
George J Csahanin
Cedar Park, TX
More information about the App_rpt-users