System Administration
Showing results for 
Search instead for 
Do you mean 

Cron service startup 1 hour different from the system time

Highlighted
Occasional Advisor

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

 

3 REPLIES
Acclaimed Contributor [Founder]

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

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

Yes, the timezone is set to

TZ=MST7MDT

export TZ

Acclaimed Contributor [Founder]

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.