emscli execute time
retrieves, updates, or synchronizes the host's time
Synopsis
emscli execute time interacts with the host's time settings.
Running the command with no arguments will return the current time.
Running the command and passing a 24-hour time (of the format HH:MM:SS) will attempt to update the host's time to the provided time. If the host is synchronized with a time protocol other than NTP, the time will not be updated. If the time is successfully updated, host synchronization with the network will be disabled.
Passing the synch argument will attempt to synchronize the host's time with the network time.
emscli execute time [synch|HH:MM:SS] [flags]
Options
-h, --help help for time
See also
- emscli execute - for executing commands on the host
- emscli execute timezone - for managing the host's timezone
- emscli execute date - retrieves, updates, or synchronizes the host's date