Page 1 of 1 1
Topic Options
#80308 - 2001-07-27 05:12 PM logon time synch
MikeC Offline
Fresh Scripter

Registered: 2001-07-27
Posts: 7
Loc: UK
Can a new Kixtart feature be
net synch time

I used to run a shell but it doesn't seem too happy when running on win95 clients

_________________________
ICU MCU

Top
#80309 - 2001-07-27 09:55 PM Re: logon time synch
Alex.H Offline
Seasoned Scripter

Registered: 2001-04-10
Posts: 406
Loc: France
Aren't you speaking about the Net Time command ?
In this case, your already have SETTIME in kix
_________________________
? getobject(Kixtart.org.Signature)

Top
#80310 - 2001-07-28 10:26 AM Re: logon time synch
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Hi Mike,

Please see page 36 of the KiXtart manual.

SETTIME
Action
Synchronizes the system clock of the local computer with the time on a specified source.

Syntax
SETTIME "source"

Remarks
Source can be one of the following:
A server name expressed in UNC format KiXtart connects to the server specified to retrieve the time.
A domain name KiXtart browses the domain for a server running the Time Source service.
"*" KiXtart browses the local domain for any server running the Time Source service.

On Windows NT, SETTIME requires the current user to have the 'Change the system time' privilege.
For more information on running the Windows NT Time Source Service, see Knowledge Base article Q131715 (also available on TechNet).

Examples
SETTIME "*"
SETTIME "\\MYTIME"
SETTIME "TIMEDOMAIN"

Top
#80311 - 2001-07-30 10:12 AM Re: logon time synch
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
but still we have not a sntp or even ntp.
and on the experience of win2k's time service, it is not working.
well. to add that to kix is too much...
_________________________
!

download KiXnet

Top
#80312 - 2001-07-31 12:17 AM Re: logon time synch
Anonymous
Unregistered


I have tried using this command but it seems to require the time service on the server.

This is why I originally used
shell("net time server /set")

it's a command which set the time required with no extra services running on the server.

Top
#80313 - 2001-07-30 02:14 PM Re: logon time synch
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Mike,
I've tried it with "*" and it does not work, even tho you have time service up. I even added to dhcp the record of timeserver. did not help.
but when you say settime "\\Your_machine_or_server"
it works.
if not, please check the error it gives and post it here.
_________________________
!

download KiXnet

Top
#80314 - 2001-07-30 03:23 PM Re: logon time synch
Anonymous
Unregistered


Don't have a time server installed on the network so will have to use other methods.

Top
#80315 - 2001-07-30 04:05 PM Re: logon time synch
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Like I tried to say, settime with the server name does not need time service.

It functions in the same way as good old net time.

_________________________
!

download KiXnet

Top
#80316 - 2001-07-31 11:47 AM Re: logon time synch
Anonymous
Unregistered


Hi Mike,

Lonkero is right. I even have it working like that @ home. I get the time there from a (get this) windows 95 client. I have installed a little bit of shareware that dials up to the internet and gets the time daily. This all works very fine for about a year now, and solved my problems with electronic banking and failing RTC's in the old machine i use for it. Please sen a message if you need the code, cause it's at home and i'm not right now!

Eddie

Top
#80317 - 2001-08-01 12:54 AM Re: logon time synch
Anonymous
Unregistered


Now Working Fine
didn't add \\ to the server name


Top
#80318 - 2001-08-07 11:39 AM Re: logon time synch
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Glad to hear it worked.

It's nice to hear success/failure for suggestions by othe members.

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1257 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.074 seconds in which 0.032 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org