- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DST 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
Forums
Discussions
Discussions
Discussions
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
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
03-17-2006 03:38 AM
03-17-2006 03:38 AM
Our servers are all set for the big day, but I want to make sure we know what to expect.
Thanks,
Stuart
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:44 AM
03-17-2006 03:44 AM
Re: DST and cron
The manpages for 'cron' explain how daylight saving changes (if any) are handled by 'cron' itself:
http://docs.hp.com/en/B2355-60127/cron.1M.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:44 AM
03-17-2006 03:44 AM
Re: DST and cron
As usual, the man page is your friend. Check the man page for cron, under the "Spring and Autumn Time Transitions" section. It goes into a detailed explanation that should satisfy your curiosity.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:46 AM
03-17-2006 03:46 AM
Re: DST and cron
To test whether or not, you have setup tztab correctly, run the attached Perl script, dst.pl. It will display the exact second before and after the time changes and because it uses the standard libc routines, if this works then all the commands like date will work and all of your application code that uses the standard routines works as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:50 AM
03-17-2006 03:50 AM
Re: DST and cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:50 AM
03-17-2006 03:50 AM
Re: DST and cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:55 AM
03-17-2006 03:55 AM
Re: DST and cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:56 AM
03-17-2006 03:56 AM
Re: DST and cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 04:09 AM
03-17-2006 04:09 AM
Re: DST and cron
WARNINGS
In the Spring, when there is a nonexistent hour because of daylight
savings time, a command that is scheduled to run multiple times during
the nonexistent hour will only be run once. For example, a command
scheduled to run at 2:00 and 2:30 a.m. in the MST7MDT time zone will
only run at 3:00 a.m. The command that was scheduled at 2:30 a.m.
will not be run at all, instead of running at 3:30 a.m.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 04:09 AM
03-17-2006 04:09 AM
Re: DST and cron
Thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 05:01 AM
03-17-2006 05:01 AM
Re: DST and cron
You would only need to set the kernel 'timezone' and 'dst' parameters if you did not configure a 'TZ' value.
The 'TZ' environmenal variable is defined in '/etc/TIMEZONE'by manually editting the file or running '/sbin/set_parms' with an argument of 'timezone'.
The '/etc/TIMEZONE' file is sourced (read) by 'etc/profile' which is how your login sessions derive the system-wide TZ value.
Other programs (Perl, C, etc.) use the 'ctime()' library calls to ascertain this TZ setting too.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 05:02 AM
03-17-2006 05:02 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 05:29 AM
03-17-2006 05:29 AM