SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Way for PC1 to PUSH time to PC2 on network?

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Way for PC1 to PUSH time to PC2 on network?
Author Message
John White



Joined: 05 Dec 2006
Posts: 1

Post Way for PC1 to PUSH time to PC2 on network? Reply with quote

This is an odd request...

PC2 is not authorized access to a Time Server, and is not authorized to use NET TIME to pull from another PC on the network. A client would like to be able to run a script/bat/? to 'send' the time of his machine to the other machine on the network.

PC2 is not under his control. Stupid, I know, that the other IT Dept won't allow a .BAT call from their PC to get time from another on the same network... But, that's what the guy is dealt with. For now he goes to the machine once a month and sets the time.



Tue Dec 05, 2006 12:07 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: Way for PC1 to PUSH time to PC2 on network? Reply with quote

How about using using 24x7 and jobs calling AtomicTime command?
You can sync with atomic times on goverment and non-goverment servers and you don't need any licenses for that, the service is free.

You can also have 24x7 to "PUSH" time using remote jobs feature. Here is how. On PC2 you run 24x7 agent; on PC1 you run scheduler and create a "push time" job that does the following:
1. Gets local time and sends this value to a global variable in agent running on PC2 (SetRemoteVariable "PC2", MyTime, "@T"yyyy-mm-dd hh:mm:ss"")
2. Executes remote command on PC2 that changes the time (JobRemoteRun "PC2", "Change time job"). That job does something like
Run "cmd /C DATE [date value here from the variable]", "", pid
Run "cmd /C TIME [time value here from the variable]", "", pid

: This is an odd request...

: PC2 is not authorized access to a Time Server, and is not authorized to use
: NET TIME to pull from another PC on the network. A client would like to be
: able to run a script/bat/? to 'send' the time of his machine to the other
: machine on the network.

: PC2 is not under his control. Stupid, I know, that the other IT Dept won't
: allow a .BAT call from their PC to get time from another on the same
: network... But, that's what the guy is dealt with. For now he goes to the
: machine once a month and sets the time.

Tue Dec 05, 2006 8:47 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.