Logo
It is currently September 6th, 2010, 10:21 am

All times are UTC - 6 hours [ DST ]


Forum rules


In order to provide you with the best support possible please read the following topics before posting:
Forum Rules can be found here. Ignorance is not bliss.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Display SAM's Acutual PC time
PostPosted: November 17th, 2008, 4:15 am 
Offline
Senior User
Senior User

Joined: July 6th, 2005, 8:36 pm
Posts: 216
Location: Boynton Beach, FL
At the moment, my djs come on the air via a PAL SCRIPT. (That waits for them to click the link). I want them to be able to see the SAM's PC real time on the WEB PAGE. so they can click it to the nearest Half hour.

This can be helpful also when showing your LISTENERS
that JOHN is on the air at 10:00 clock, the listener can see the PC TIME on the webpage say oh it is 9:54 Eastern where the radio resides. it can be off by about a minute i guess. BUT to display the PC time (RADIO TIME).


Top
 Profile  
 
 Post subject: Re: Display SAM's Acutual PC time
PostPosted: November 17th, 2008, 8:21 am 
Offline
SVS Member
SVS Member
User avatar

Joined: October 14th, 2006, 9:38 am
Posts: 4446
Location: Deep in the heart of the PRNJ
There will always be some network delay, from a few seconds to a minute or more.

I suggest you do as ham radio operators do; everyone use UTC and sync to a common time reference. Solves that whole pesky time zone problem.

_________________
- Stan Olochwoszcz
- SVS (Spacial Volunteer Support)
A proud licensed SAM user since 2003

Raritan Bay Radio
Follow us on Twitter


Top
 Profile E-mail  
 
 Post subject: Re: Display SAM's Acutual PC time
PostPosted: November 17th, 2008, 7:44 pm 
Offline
Junior User
Junior User
User avatar

Joined: October 4th, 2008, 12:35 pm
Posts: 39
Location: Kaufbeuren, Germany
I’d suggest keeping all machines sync’ed using NTP stratum 2 (or 3) time server pools (should be exact enough). Since some PC clocks drift a lot, we recommend to our users to sync every hour, and actually distribute a small .reg file (for Windows) to them that sets the correct time servers (not Windows!) and the update interval to one hour.

Here’s an example of »set time.reg« for North America:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="north-america.pool.ntp.org,0x1"
"Type"="NTP"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]
"Enabled"=dword:00000001
"InputProvider"=dword:00000001
"SpecialPollInterval"=dword:00000e10

You might want to check out the NTP Pool Servers page for more details. The tend to be a reliable source, since there usally several hundred servers in any one pool. (If you are not in North America, please select another appropriate pool.)

You can just copy the code into a text file, save it as »something_appropriate.reg«, double-click the file and answer »yes« to the security question.

Hint: If there is a long update interval currently set (which is usually the case), it will do the first update only after the current interval has expired. Rebooting helps ;-)

Hint: It also helps a lot if the servers are sync’ed to reliable NTP sources. Ask your provider, or set up the same NTP settings on your Linux server (a snap).

_________________
Moonbase: The Problem Solver
I will not give any support for unlicensed or pirated software.


Top
 Profile E-mail  
 
 Post subject: Re: Display SAM's Acutual PC time
PostPosted: November 18th, 2008, 1:56 am 
Offline
Senior User
Senior User

Joined: July 6th, 2005, 8:36 pm
Posts: 216
Location: Boynton Beach, FL
so each of the DJS are to run this file and we would all pretty much be linked to the similar time. correct?

So then the next thing is. How to have the a typical WEBSITE display the TIME. of the PC, i know there is ways to show ETA of a song coming up and such, what about display the PCS time or "SAM's TIME?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group