ntpd, as others have pointed out, is the obvious choice to keep the clock in sync once it's set. However, you'll probably also want "ntpdate" to set it initially from a good network time source, as ntp won't adjust the clock if it's more than a couple minutes out of sync.

Both should be available from the package manager of the Linux distro you're using.