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
-
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
-
NET TIME /setsntp:yourdomain.com
-
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.
-
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)
-
Try net time /? for command line options.
-
NET TIME \YOUR_SME_SERVER_WINDOWS_NAME /SET /YES