Automatically set your Linux box’s time from the Atomic Clock

Need to set your Linux box to the atomic clock and don’t want to touch it constantly? Follow these instructions to add a cron task to make the computer work for you.

This is what I have done for RedHat 7.2. It probably works for most RH distros, if you are using a different distro then you will have to figure it out yourself.

Log in as root and go to /etc/cron.daily

Using your favorite editor create the following file called rdateset



#!/bin/bash

rdate -s clock.psu.edu

exit 0



About the Author

Has Written 6 Articles For Us!

Getting The Latest Tweet...
Did you know has a website? Go see what you're missing...
It's very calm over here, why not leave a comment?

Leave a Reply




CommentLuv Enabled

Comments links could be nofollow free.

adf.ly - shorten links and earn money! Blog Engage Blog Forum and Blogging Community, Free Blog Submissions and Blog Traffic, Blog Directory, Article Submissions, Blog Traffic
SponsoredTweets referral badge

Online Advertising

Online Advertising