Re: time zone on linux

2001-11-22 Thread kilaru
Hi Mark Thanks for the reply. But if the timezone changes while daemon is running, simply calling localtime and asctime will not help. Because localtime doesn't look at /etc/localtime from second time onwards unless we set TZ environment variable again to the new value. For that my daemon ne

Re: time zone on linux

2001-11-20 Thread Mark Ferlatte
On Tue, Nov 20, 2001 at 06:57:11PM +0530, kilaru wrote: > Now my doubt is how will I know if root changes timezone while my daemon is > running?( I do not want to kill and restart the daemon). > > If any body knows how to do it please tell me. If your Linux box was setup properly, the system tim