My servers are Ubuntu 14.04 on AWS. Our application actually needs time in CDT. By default it was UTC, so I created a sysm link for localtime.
ll /etc/localtime
lrwxrwxrwx 1 root root 27 Sep 14 03:53 /etc/localtime -> /usr/share/zoneinfo/CST6CDT
And my date command in linux seems ok as it displays time in CDT. Everything works perfect in first glance, however checking in detail shows my server time is actually about 1.5 minutes lagging from original CDT time. Any idea how to correct this?
The problem is our backend is Mysql on RDS, where we set the timezone to US/Central which is in exact sync with original CDT. So my frontend and backend are having a difference of 1.5 mins. This seems to be weird.
But we need the ubuntu instance to be exactly the CDT time.
Thanks in advance