Skip to content

Instantly share code, notes, and snippets.

@krishraghuram
Created December 7, 2017 02:38
Show Gist options
  • Save krishraghuram/dd0aa65ac3d179c1a7476f4006fbdff4 to your computer and use it in GitHub Desktop.
Save krishraghuram/dd0aa65ac3d179c1a7476f4006fbdff4 to your computer and use it in GitHub Desktop.
sudo apt-get install htpdate
sudo crontab -e
#If the system asks for a choice of editor, choose nano. Its the simplest one. 
#Copy paste the following line at the bottom of the file
* * * * * /usr/sbin/htpdate -s intranet.iitg.ernet.in
#Close the file by pressing CTRL+X. Press Y and then ENTER to save the file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment