I have two computers, but I can´t change the time in one, so I have to sync one of this, with the other one. It has QNX. What can I do?? only commands
The best solution would be to install NTP on both machines and have them sync to the same server. This is not an option, of course, if you only have
Assuming that you have ssh access to both machines, that
You will need to change
The command above will
CAVEAT: The two commands take some time to complete. When I tested them on my machine, they took 0.3 seconds, it could take more on yours. Just be aware that if you need millisecond accuracy, this will not work. Then again, if you need millisecond accuracy, the only thing that will work is syncing both machines to an NTP server.