- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Daylight Savings Time and CRON
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 04:56 AM
тАО10-20-2003 04:56 AM
Daylight Savings Time and CRON
I would like to know if anyone has faced with jobs that was scheduled in time that will not exist during the transition of DST and this job was executed.
In my case, the last Sunday the DST was started in Brazil at 00:00, then we supposed that the jobs scheduled during the period 00:00 - 00:59 wouldn't be executed, but the job that was scheduled to 00:35 was ran.
I could realize the problem because other job was put to run at 01:35, and in my log file was logged that 2 processes try to execute.
Have anyone faced with the same problem?
Our Operating System is HP-UX 11.11
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 05:02 AM
тАО10-20-2003 05:02 AM
Re: Daylight Savings Time and CRON
Spring and Autumn Time Transitions
On the days of daylight savings (summer) time transition (in time
zones and countries where daylight savings time applies), cron
schedules commands differently from normal.
In the following description, an ambiguous time refers to an hour and
minute that occurs twice in the same day because of a daylight savings
time transition (usually on a day during the Autumn season). A
nonexistent time refers to an hour and minute that does not occur
because of a daylight savings time transition (usually on a day during
the Spring season). DST-shift refers to the offset that is applied to
standard time to result in daylight savings time. This is normally
one hour, but can be any combination of hours and minutes up to 23
hours and 59 minutes (see tztab(4)).
When a command is specified to run at an ambiguous time, the command
is executed only once at the first occurrence of the ambiguous time.
When a command is specified to run at a nonexistent time, the command
is executed after the specified time by an amount of time equal to the
DST-shift. When such an adjustment would conflict with another time
specified to run the command, the command is run only once rather than
running the command twice at the same time.
Commands that are scheduled to run during all hours (there is a * is
in the hour field of the crontab entry) are scheduled without any adjustments.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 05:25 AM
тАО10-20-2003 05:25 AM
Re: Daylight Savings Time and CRON
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 05:52 AM
тАО10-20-2003 05:52 AM
Re: Daylight Savings Time and CRON
Then, it doesn't matter that the time doesn't really exist. 3 hours later, the job will execute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 05:55 AM
тАО10-20-2003 05:55 AM
Re: Daylight Savings Time and CRON
The time change effects how time is displayed. Time is actually internally kept as the number of seconds since Jan 1, 1970.
We have a time change coming up next weekend. I will schedule some cron jobs for the hour that is to be rolled back and report results.
My memory is that all of the jobs ran once and that all jobs ran.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 06:01 AM
тАО10-20-2003 06:01 AM
Re: Daylight Savings Time and CRON
Some time back, we went round and round with aonther Unix flavor before we fixed all the glitches resulting from jobs running twice in the Autumn.
One of the first things I checked when starting with HP/UX was to test this, and HP is solid in this dept.