Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   Linux (http://www.lampwrights.com/forumdisplay.php?f=1)
-   -   Keeping it on time! (http://www.lampwrights.com/showthread.php?t=21)

Jeff 07-30-2010 11:20 AM

Keeping it on time!
 
Time is always important! Most of your web applications will rely heavily on the time being correct. I usually set my servers up to periodically check/adjust the time via a cronjob:

Code:

22 * * * * /usr/sbin/ntpdate -u time.mytimeserver.com >/dev/null 2>&1
Every 22 minutes after the hour the server checks its time. Of course you need a time server to ping. Your host should have one in house but there are many free ones that you can find on google.


All times are GMT -4. The time now is 07:43 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.