[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Raq 2 Time
- Subject: Re: [cobalt-users] Raq 2 Time
- From: Rik Thomas <rikt@xxxxxxxxxxxxxxxx>
- Date: Mon Aug 13 02:32:15 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 13 Aug 2001, Steve Werby wrote:
> "Brent Franks" <cobalt@xxxxxxxxxxxxx> wrote:
> > I was wondering if there was a way to adjust the time / date from the
> > shell? I am receiving an "Internal
> > Server Error" when I try to update via the Web GUI or when I try to Sync
> it
> > with an NTP server.
> >
> > Anyone seen anything like this before?
>
> No, but here's how to update the time from the commandline.
>
> /usr/sbin/ntpdate bigben.cac.washington.edu >>/var/cobalt/sauce.log 2>&1
>
> You can always substitute another ntp server in the command above.
>
What you can do then is create a file in /etc/cron.daily/
called settime.sh or whatever you want and copy that in to the file, that
way your server will set its time daily automatically.
--
Rik Thomas
rikt@xxxxxxxxxxxxxxxx http://SmartBackups.com
Is your Website Smart? Automated Website backups. Free 30Day trial!
Ph: 302.672.7314 Fx: 302.672.7315 ICQ: 879956