Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

TimeZone is not working properly

I am using linode server running ubuntu 12.04LTS. My Question is when i configured timezone by using dpkg reconfigure tz as IST ASIA/Calcutta. It shows correct timezone by using date command. But it is not working in CRON jobs and PHPMYADMIN. Because My work is very important, anxiously i have to work in UTC timezone to run my cron jobs accordingly. But now i am stucking with my applications output run by cron jobs. Please help me!!

Thanks in advance

share|improve this question

1 Answer 1

Please set your timezone using sudo dpkg-reconfigure tzdata instead of via an environment variable.

share|improve this answer
    
timezone is not set permanently after set link to /etc/localtime, so i did export and its done but not working woth crontab and phpmyadmin –  shihon May 30 '12 at 12:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.