Created
May 31, 2021 17:28
-
-
Save felipedavi/9a6c7d2beb838bc9710f8345915b177e to your computer and use it in GitHub Desktop.
Keep Linux Time Synchronized without NTP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Manter Horário Linux Sincronizado sem NTP | |
# ------------------------------------------------------------------ | |
sudo date +%s -s @$(curl -s http://pcdsh01.on.br/RelogioServidor.php) > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment