Re: cron service startup 1 hour different from the system time (305 Views)
Reply
Occasional Advisor
gcsg
Posts: 9
Registered: ‎07-13-2012
Message 1 of 4 (353 Views)

Cron service startup 1 hour different from the system time

Hi, I have a rp3440 with hpux 11.23, and when the server startup the cron service startup with an hour difference from the system hour

 

**************************************************

HP-UX Start-up in progress

Fri Sep 21 02:42:40 EDT 2012

 

 

! *** cron started *** pid = 22202 Fri Sep 21 01:38:21 MDT 2012

 

I check the time zone and I have it the way I supposed to

TZ=MST7MDT

 

any clue what chould be happening??

thanks

 

Acclaimed Contributor
Dennis Handly
Posts: 25,094
Registered: ‎03-06-2006
Message 2 of 4 (346 Views)

Re: cron service startup 1 hour different from the system time

[ Edited ]

>an hour difference from the system hour

 

It's not really an hour difference, it's just the wrong time zone.  :-)

 

>I check the time zone and I have it the way I supposed to: TZ=MST7MDT

 

Is this in /etc/TIMEZONE?

Occasional Advisor
gcsg
Posts: 9
Registered: ‎07-13-2012
Message 3 of 4 (309 Views)

Re: cron service startup 1 hour different from the system time

Yes, the timezone is set to

TZ=MST7MDT

export TZ

Acclaimed Contributor
Dennis Handly
Posts: 25,094
Registered: ‎03-06-2006
Message 4 of 4 (305 Views)

Re: cron service startup 1 hour different from the system time

>the timezone is set to: TZ=MST7MDT

 

Was it changed recently?  I.e. after the system was booted?

You may have to change the kernel parm timezone(5) to match.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.