Skip to content

Instantly share code, notes, and snippets.

@motoishmz
Created November 24, 2018 06:46
Show Gist options
  • Save motoishmz/2b8a171fafe55a66b06cb57f09cc074c to your computer and use it in GitHub Desktop.
Save motoishmz/2b8a171fafe55a66b06cb57f09cc074c to your computer and use it in GitHub Desktop.

Revisions

  1. motoishmz created this gist Nov 24, 2018.
    5 changes: 5 additions & 0 deletions sync_time.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    net stop w32time
    w32tm /config /syncfromflags:manual /manualpeerlist:"0.it.pool.ntp.org 1.it.pool.ntp.org 2.it.pool.ntp.org 3.it.pool.ntp.org"
    net start w32time
    w32tm /config /update
    w32tm /resync /rediscover