Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Cron service startup 1 hour different from the system time

Highlighted
gcsg
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
Dennis Handly
Acclaimed Contributor

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

>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?

gcsg
Occasional Advisor

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

Yes, the timezone is set to

TZ=MST7MDT

export TZ

Dennis Handly
Acclaimed Contributor

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.