I was able to solve my problem with the help of @Bacco by installing NTP on the server.
1st Install NTL
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ntp ntpdate
2nd Change the settings in the file ntp.conf
sudo nano /etc/ntp.conf
3rd Change the default server by the server of your choice
Change this part in the settings
server 0.ubuntu.pool.ntp.org
server 1.ubuntu.pool.ntp.org
server 2.ubuntu.pool.ntp.org
server 3.ubuntu.pool.ntp.org
# Use Ubuntu's ntp server as a fallback.
server ntp.ubuntu.com
By
server 0.br.pool.ntp.org
server 1.br.pool.ntp.org
server 2.br.pool.ntp.org
server 3.br.pool.ntp.org
(If you want to use the Brazilian server - complete list of servers )
4º After 10 to 20 minutes you have done the above steps, NTP will synchronize the schedules.
You can run the code below to view delay information between servers and other information
5th Stop and start the NTP service
sudo service ntp start
sudo service ntp stop
sudo service ntp restart
I used this tutorial to solve the problem, following the @Bacco tip