INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Date and Time Sync

Date and Time Sync

(OP)
Most unix flavours appear to have a utility called ntpdate that will sync local date and time from the Internet ... I was hoping someone might know of a way to use a SHELL Script to get date and time from the Internet without using ntpdate ... have a mature DB app running on SCO Xenix 5.0.5Eb, which I have running in a Virtual Machine ... for this situation, VM Tools doesn't know how to play with XENIX and the ntpdate installed refuses to play with current public ntp servers.

This version of Xenix has Netscape installed so I expect it should be able to run a command line style query to fetch the date and time from the Internet? Just don't know what command to use.

RE: Date and Time Sync

(OP)
Ok the reason ntpdate wasn't working because XENIX was missing a DNS configuration ... wasn't able to decipher how to set up DNS or a permanent route table from the SCO manuals ... so ... I just created a simple script linked to cron to run every midnight plus to run at reboot.

route add default <Router Gateway IP address>
ntpdate <IP of a public NTP Server>
ntpdate <IP of an alternate public NTP Server>

This is certainly a kludge but at least the Xenix DATE/TIME should stay in sync inside the VM.

This VM is running 24/7 on Win7Pro machine ... this PC has a history of random reboots ... the Motherboard has been replaced once already along with adding a larger Wattage P/S (the failures all appear to be hardware related) ... XENIX usually needs some TLC after most of these impromtu reboots.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close