hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Sync time with external server
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Sync time with external server

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-10-2001, 06:39 PM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
My linux box at home just hates to keep the right time .

Anyone know what server I can use to set my time to. And, what's the command again? And should I set this up as a cron job to sync the time every hour?

Reply With Quote


Sponsored Links
  #2  
Old 01-10-2001, 06:45 PM
jtan15 jtan15 is offline
Aspiring Evangelist
 
Join Date: Jul 2000
Posts: 382
Try adding this line to your crontab. This will keep you up with Eastern standard time. Hope this helps you.

29 * * * * /usr/sbin/netdate time.jtan.com >/dev/null

Reply With Quote
  #3  
Old 01-10-2001, 11:01 PM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Excellent. Thanks Vincent!! I had to install netdate, but once I did this, it works great.

You don't need the >/dev/null though I don't think. Is there a reason you have it?


Reply With Quote
Sponsored Links
  #4  
Old 01-11-2001, 12:01 AM
allan allan is offline
Retired Moderator
 
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
You can find a list of public NTP servers at:

http://www.eecis.udel.edu/~mills/ntp/servers.html

allan

__________________
My Political Blog

Reply With Quote
  #5  
Old 01-11-2001, 12:07 AM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Allan,

would I just use netdate as above with these servers?

Reply With Quote
  #6  
Old 01-11-2001, 12:10 AM
allan allan is offline
Retired Moderator
 
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
Quote:
Originally posted by tabernack
Allan,

would I just use netdate as above with these servers?
Exactly. Not that there is anything wrong with using the jtan server, I just didn't want 30 million WHT viewers suddenly syncing their server clocks with the one server .

allan

__________________
My Political Blog

Reply With Quote
  #7  
Old 01-11-2001, 05:35 PM
jtan15 jtan15 is offline
Aspiring Evangelist
 
Join Date: Jul 2000
Posts: 382
Quote:
Originally posted by tabernack
Excellent. Thanks Vincent!! I had to install netdate, but once I did this, it works great.

You don't need the >/dev/null though I don't think. Is there a reason you have it?

No problem. Yes, you do not need the </dev/null. I just keep it there so if the server gives any output, it sends it right to the trash, as I don't need it.

Reply With Quote
  #8  
Old 01-11-2001, 05:48 PM
CRego3D CRego3D is offline
Web Hosting Master
 
Join Date: Sep 2000
Posts: 1,615
Allwats learning something new

__________________
Carlos Rego
OnApp CVO

The Cloud Engine

Reply With Quote
  #9  
Old 01-12-2001, 02:23 AM
etLux etLux is offline
Web Hosting Master
 
Join Date: Oct 2000
Location: Moldavia
Posts: 1,177
Ah! Thanks for that once, Vince.

__________________
etLux
CodeLifter.com Free JavaScript

Reply With Quote
  #10  
Old 01-12-2001, 09:21 AM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Hi Vincent, every now and then (about 2-3 times a day) I get:

Connection with udp to time.jtan.com failed.

From the cron daemon. Just thought I'd let you know.

Reply With Quote
  #11  
Old 01-12-2001, 09:22 AM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
OOOps, nevermind, it was my internet access. Was intermittent the past couple of days. Didn't notice sine I've been working so much.

Reply With Quote
  #12  
Old 01-12-2001, 04:19 PM
jtan15 jtan15 is offline
Aspiring Evangelist
 
Join Date: Jul 2000
Posts: 382
No problem guys. Glad I could help!

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
BitTorrent to Launch Cloud Storage Service Web Hosting News 2013-01-25 15:39:23
File Sync Software Provider ownCloud Secures $2.5M Funding Round to Grow Partner Channel Web Hosting News 2012-11-26 14:20:54
5098062a-38b0-4da5-a204-089845a799de Listing 2013-03-05 18:23:28
5098062a-bb84-4dad-af99-089445a799de Listing 2013-03-05 18:23:29
Web Host U-SYNC Launches CM4all OnlineDrive-Powered Cloud Storage Web Hosting News 2011-06-22 20:54:21


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?