Does anyone have any tips on how to change the windows clock on a gateway server from the gateway?
system.util.execute paired with the
In practice, I would recommend not doing this. I can’t really imagine why you would need to do this, let alone often enough to script something. Also, Java has its own timekeeping and disagreeing with the OS could cause issues with e.g. history.
Why would you want to do that? The gateway’s clock should be updating from an NTP server.
The gateway is the main clock in the system which all other systems synch with.
The system doesn’t have access to internet and it moves through different time zones where the operator adjust system time.
The system.util.execute worked running some .bat files to update the clock.