Difference between revisions of "Time synchronization"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 1: | Line 1: | ||
This one synchronizes time on a Windows workstation against some other Windows machine (i.e., domain controller etc.). | This one synchronizes time on a Windows workstation against some other Windows machine (i.e., domain controller etc.). | ||
− | + | <source lang="xml"> | |
− | + | <package | |
id="time" | id="time" | ||
name="Time Synchonization" | name="Time Synchonization" | ||
Line 13: | Line 13: | ||
<install cmd="net time \\timeserver /set /yes" /> | <install cmd="net time \\timeserver /set /yes" /> | ||
− | + | </package> | |
+ | </source> | ||
If you're using [[WPKG Client]], it's a good idea to put just <code>net time \\timeserver /set /yes</code> in a "pre" script. | If you're using [[WPKG Client]], it's a good idea to put just <code>net time \\timeserver /set /yes</code> in a "pre" script. |
Revision as of 17:34, 23 April 2008
This one synchronizes time on a Windows workstation against some other Windows machine (i.e., domain controller etc.).
<package
id="time"
name="Time Synchonization"
revision="1"
reboot="false"
priority="100"
notify="false"
execute="always">
<install cmd="net time \\timeserver /set /yes" />
</package>
If you're using WPKG Client, it's a good idea to put just net time \\timeserver /set /yes
in a "pre" script.