|
Advanced Time Synchronizer accepts the following options in the command line:
- noshow - start program as an icon in the system tray
- auto - auto connect to the list of servers
- close - close window when time adjusted or failed (program exit code contains error)
- noautodial - disables auto dial window (fails when no RAS connections established)
- nolist - connects only to the server from command line (ignored, if 'server:' option is absent)
- server:name:protocol:net_protocol:daytime_format - time server for auto connecting
protocol - may be one of these strings: DAYTIME, TIME or SNTP
net_protocol - (TCP or UDP) must be specified only for TIME and DAYTIME
daytime_format - must be specified only for DAYTIME. Format specifications are specified in the Daytime protocol timestamp format topic.
If server: option is specified, Advanced Time Synchronizer firstly
tries to connect time server from command line and then, if failed, connects to time
servers from the list.
If auto, close and noshow options are specified,
Advanced Time Synchronizer operates in batch mode. It does not show main window and does
not return until time synchronization is made or failed. Program error code contains one of the
following error codes:
Advanced Time Synchronizer error codes:
- 0 - Time synchronized successfully
- 1 - Time synchronization was failed
- 2 - User canceled time synchronization
|