I am setting up a server with several VPS. I am using LXC. I am thinking it would be better to have only the main server equipped with ntp and have the virtual boxes just get the time from the main box. Is there a bash/python/php etc script I could use to get the time from the main server?
Got no answer, so here is what I did, and I am wondering if there are any consequences to this that I should be aware of.
Main server cron job
Each VPS has following cron job