Created
June 24, 2016 01:39
-
-
Save developerdino/e175887d3365d11f755fa9a7b2086447 to your computer and use it in GitHub Desktop.
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
# Commands for setting time on servers | |
# FOR TESTING PURPOSES ONLY # | |
# Disable NTP syncing | |
sudo timedatectl set-ntp 0 | |
# Set time to when you want | |
sudo timedatectl set-time "2016-07-01 08:00:00" | |
# Enable NTP syncing | |
sudo timedatectl set-ntp 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment