![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to fetch data from a text file in Unix | shikhakaul | Shell Programming and Scripting | 4 | 01-25-2008 08:20 AM |
| Need help in choosing Unix Platform. | justanoob | UNIX for Dummies Questions & Answers | 3 | 03-10-2005 12:45 AM |
| Change time source? | michelemcdonald | UNIX Desktop for Dummies Questions & Answers | 4 | 09-09-2003 08:55 AM |
| Porting of Windows written unix scripts to unix platform | tamilselvi | UNIX for Advanced & Expert Users | 7 | 10-02-2002 07:55 AM |
| C++ on True Unix Platform | mandar3 | High Level Programming | 2 | 10-15-2001 08:13 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How To Fetch Time From Putside Source On Unix Platform?
CAN ANY PLESE TEL ME,HOW CAN I FETCH TIME FROM SOME EXTERNAL SOURCE (eg. NETWORK TIME SERVER S 200) ON UNIX PLATFORM,PROVIDED TIME IS COMING FROM SOME IP "X".WHAT CODE SHOULD I RUN IN STARTUP
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
ntp is designed exactly for that.
Do you want a one-time piece of code to fetch time/date from a local server or do you want to keep the system clock in sync with a network time server? Consider doing some reading - www.ntp.org xntpd or ntpd may already be part of your system. Some systems come with /usr/bin/ntpdate which does the onetime fetch and time set. Check yours. |
|
#3
|
|||
|
|||
|
i want to sync system clock with NTS
tha NTS comes with a patch that supports only windows env, not UNIX,so to make it run on unix,i need to put a patch ,which in turn ,wil fetch time from my NTS.tha patch or demon watever they cal in unix is needed which can fetch time from NTS ,the moment system loads OS.like it usually do with RTC
|
|||
| Google The UNIX and Linux Forums |