1827452 Members
4105 Online
109965 Solutions
New Discussion

Re: Daylight activity

 
SOLVED
Go to solution
Madhu_17
Regular Advisor

Daylight activity

Hello Friends,

We are supporting one HP server of belgium. How to go with the daylight savings for this server.

Pls find the date command outpur for your ref.

#date
Mon Oct 24 16:37:24 METDST 2005

#cat TIMEZONE
TZ=MET-1METDST
export TZ


Thanks..
15 REPLIES 15
Arunvijai_4
Honored Contributor

Re: Daylight activity

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=967582

This should be helpful..

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Madhu_17
Regular Advisor

Re: Daylight activity

As I am not that much confident on HP-UX,
Can anybody give me step-by-step commands


Thanks in advance..
Orhan Biyiklioglu
Respected Contributor
Solution

Re: Daylight activity

Your timezone setup seems correct. If your tztab file contains the information for the MET timezone like the following:

#grep MET /usr/lib/tztab
MET-1METDST
0 3 25-31 3 1983-2038 0 METDST-2
0 2 24-30 9 1983-1995 0 MET-1
0 2 25-31 10 1996-2038 0 MET-1

Your timezone will be automatically changed from METDST to MET on October 30th.

hth
Madhu_17
Regular Advisor

Re: Daylight activity

Yes.. my tztab file is having entries as specified by you for "-1METDST".

Hope my server will get effected automatically.. Pls confirm..


Thanks
James R. Ferguson
Acclaimed Contributor

Re: Daylight activity

Hi Madhu:

Your timezone involves a daylight savings change. If you look at the manpages for 'tztab' and match your timezone to the stanza in '/usr/lib/tztab' you can see exactly when your time change will occur.

# man tztab
# cat /usr/lib/tztab

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: Daylight activity

Hi Madhu:

Your server will behave quite fine. You can find some additional information regarding daylight savings time changes and 'cron' in the manpages for 'cron'.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: Daylight activity

You have to remember that the actual time does not change, just the way it is displayed. With your tztab entries, it will revert to standard time automatically.


Pete

Pete
Madhu_17
Regular Advisor

Re: Daylight activity

Thanks James..

Pete, your reply is little bit confusing to me.. what happens on 30 th oct at 3 AM??

Will my date command shows 3 AM after that or 2 AM??

Thanks
Hanwant Verma_1
Regular Advisor

Re: Daylight activity

Pete Randall
Outstanding Contributor

Re: Daylight activity

See the section titled "Spring and Autumn Time Transitions" in the cron man page to see how jobs are affected by the time shift.


Pete

Pete
Orhan Biyiklioglu
Respected Contributor

Re: Daylight activity

Your date command output will change from 02:59 to 02:00.

Madhu_17
Regular Advisor

Re: Daylight activity

Thanks all..

So, i do not need to do any thing on that day.. simply if i check it would be okay.. correct me if i am wrong..


Thanks
Pete Randall
Outstanding Contributor

Re: Daylight activity

No, you don't have to do anything.


Pete

Pete
Hanwant Verma_1
Regular Advisor

Re: Daylight activity

No points assigned.

Hanwant
Madhu_17
Regular Advisor

Re: Daylight activity

Thanks all for your valuable suggestions.