Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.5

execute time

execute time

retrieves, updates, or synchronizes the host's time

Synopsis

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.

execute time [synch|HH:MM:SS] [flags]

Options

  -h, --help   help for time

See also

execute time

execute time

retrieves, updates, or synchronizes the host's time

Synopsis

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.

execute time [synch|HH:MM:SS] [flags]

Options

  -h, --help   help for time

See also