Feature request: Close program after successful sync
Brought to you by:
ghjm
Since I only need the program to sync at boot up, I would like the settings to have an option
to terminate the program after sucessful time sync. I don't need the ap in memory anymore after
the initial time sync after boot up. (and only then because of sometimes previously booting linux)
You can effectively do this already by running the program with the /synconce command line parameter. Make sure that it is run with administrator privileges.
How to do this on Windows? CLI command
Hi, I have the same need as Daniel: sync at boot and exit. I used the /synconly option but nettime keeps in tray. I have to wait 5 seconds and then kill process. I used the following command line code:
I have to use start command because NetTime locks CLI if launched directly.
I have to use force option (/f) in taskkill command because NetTime ignores termination signal sent by taskkill.
The correct command line option for Daniel and me is /updateonce. There is no need of my previous batch file. I programmed the task manager to launch nettime.exe /updateonce at system bootup