Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: mike mattos on July 28, 2003, 05:45:06 AM

Title: time service
Post by: mike mattos on July 28, 2003, 05:45:06 AM
Can a 5.5 system be accessed remotely as a time server?  I'm using D4 or XP locally to set work station times, but I'd like to be able to tell if the servers I support are actually updating by running a script

something along the lines of
set local time from a timeserver, save time
set time from a client's server
compare to good time
if the difference more than 30 seconds, send myself an email

but I don't seem to be able to get a connection  via the internet to the server

eg  net time \sme works locally
     net time \(my fixed ip address)  does not work

thanks
mike
Title: Re: time service
Post by: Chaloner Hale on July 28, 2003, 05:50:56 AM
NET TIME /setsntp:yourdomain.com
Title: Re: time service
Post by: Chaloner Hale on July 28, 2003, 05:54:01 AM
If its anything like W2K, you then need to set the "Windows Time" service to start automatically. I set my SME server to sysnc with time.nrc.ca (National Research Council) and then each station to sync with the SME server.

All my workstations have the right time.
Title: Re: time service
Post by: mike mattos on July 28, 2003, 08:53:14 PM
NET TIME /setsntp:yourdomain.com didn't work
NET TIME /set sntp:yourdomain.com didn't either
NET TIME sntp:yourdomain.com /set either

I was testing on an NT 4.0 system, it has a /set option,

I received domain controller errors when I tried to access a server using

net time stnp:somewebserver.com /set  

remember, the client is NOT a member of the domain, but you'd think that a web server could supply the time without using a lot of html!  ( that is another option, but it really complicates things)
Title: Re: time service
Post by: Chaloner Hale on July 28, 2003, 09:24:59 PM
Try net time /? for command line options.
Title: Re: time service
Post by: tibor on July 30, 2003, 12:35:33 AM
NET TIME \YOUR_SME_SERVER_WINDOWS_NAME /SET /YES