Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: running a process (oracle db) with modified system time
In article <f9226414.0405161636.4515fcc_at_posting.google.com>,
ilaletin_at_usa.net (Igor Laletin) wrote:
> Jarek 'bacza' Baczynski <jarek_at_nie.lubie.spamu.invalid> wrote in message
> news:<slrn.pl.cadde9.3vvpmv9.jarek_at_Jarek.Baczynski>...
> > hello there,
> >
> > I'm wondering if there is a way to run a process on solaris in such
> > a way that it receives the system time modified with a given amount
> > of secs/mins/hours/...
> >
> > I don't want to change the time on the server, I just want to run
> > a specific process in an environment that "emulates" a different time.
>
> The easiest way is to set TZ env variable before you start up the
> instance and the listener. You can even have different times in
> different sessions if you start several listeners with different TZ's
> and connect via Net.
That would change the way the time is displayed to humans, but won't have any effect on the times used internally within the program. Those times are simply the interval since the epoch.
-- Barry Margolin, barmar_at_alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***Received on Sun May 16 2004 - 23:21:00 CDT