Re: changing the timezone on a live system



Rodrick Brown wrote:

Anyone know how to change the timezone settings on a live system w/o rebooting?
Anything I could possibly force through mdb etc..

Thanks.


Even if it's possible, I suspect it would be much easier to reboot.

The timezone is set in the TZ environment variable for each process. As far as I know, there is no way to reset those environment variables without stopping and restarting every process.

You may be able to solve your problem by stopping and restarting a few processes where the timezone really matters.
.



Relevant Pages

  • Re: changing the timezone on a live system
    ... there is no way to reset those environment variables ... without stopping and restarting every process. ... processes where the timezone really matters. ...
    (comp.unix.solaris)
  • Re: Problem Using C# to Append Paths to Path Env. Var.
    ... var. ... a subsequent step needs that path env. ... away without restarting the application or rebooting the computer? ... > They presumably load into their memory space the environment variables on ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Problem with GetEnvironmentVariable
    ... Try restarting the PC after you add your vars into the properties area. ... They get read in when you boot up and I don't ... > I've tried using SET from the console, or "Environment Variables" in my ...
    (microsoft.public.dotnet.languages.vb)
  • Set TimeZone
    ... After I use the code in the OpenNETCF Smart Device Framework to set the timezone, the TimeZone.CurrentTimeZone.GetDaylightChangesno longer returns correct dates, even after restarting the application. ...
    (microsoft.public.windowsce.embedded)
  • Re: Date problem
    ... I have the following environment variables set: ... What timezone does 'date' report? ...
    (Debian-User)