1832275 Members
1948 Online
110041 Solutions
New Discussion

Timezone

 
Shahul
Esteemed Contributor

Timezone


Hi Folks,

Can someone tell me how to change timezone systemwide without a reboot.

TIA
Shahul
3 REPLIES 3
Steve Steel
Honored Contributor

Re: Timezone

Hi


/sbin/set_parms timezone
Provides an interactive interface to change the time zone that
the system believes it's in.


But since the system picks up the zone at startup you should always reboot to get it right.



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Michael Tully
Honored Contributor

Re: Timezone

Hi Shahul,

Part of the problem you face is that most if not all processes will already referring to the existing zone, that is why a reboot is generally required.

Manually Editing the /etc/TIMEZONE file to the applicable zone can be done.
Make sure that the /etc/profile file also has the correct timezone. This is not a guarantee....

If you run a database then this should be stopped/restarted. Databases generally do not like the system clock being changed at all, especially backward, where they can crash.

Regards
Michael
Anyone for a Mutiny ?
V. V. Ravi Kumar_1
Respected Contributor

Re: Timezone

hi,
/sbin/set_parms timezone

A reboot is required after change.

Regards
Never Say No