Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

net time as scheduled task 1

Status
Not open for further replies.

plip1978

Technical User
Aug 22, 2007
29
GB
Hi,

I'm having an issue with a network time sync.

I currently have a scheduled task with sc.exe and the variables w32time task_started. However, I want to sync to a specific server. I am able to do this from the cmd line using > net time \\servername /set /yes, but I can't work out how to set this working under a scheduled task.

Can anyone help?

thanks,
Phil
 
Thanks, I thought I might end up writing a batch file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top