Created
April 27, 2011 17:49
-
-
Save markcaudill/944778 to your computer and use it in GitHub Desktop.
A dirty way to update your system time via SSH.
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
# Sync the time ninja style | |
0 0 * * * /bin/date `ssh -i /home/username/.ssh/id_rsa -p 443 [email protected] "date '+%m%d%H%M%Y.%S'"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment