One, you're right, it's nothing to do with Perl. ;)

Two, it's called "daylight saving time" (not savings). You make it sound like a bank where you can withdraw a little extra on a rainy day.

Three, DST in the USA jumps from 2am to 3am (occasionally called the Devil's Hour), or from 2am to 1am (occasionally called the Witch's Hour (not to be confused with the Witching Hour of midnight)).

Four, yes, some versions of the documentation for cron has included such operational notes nearly since its invention. Cron won't fire events for a time which never happened. Cron will fire events twice for times which happen twice.

This is another reason you should update your system time carefully and gradually with ntpd instead of with lurching adjustments like crontab: 11 1 * * * fixtime. If you somehow skip a whole minute, that system backup might not happen.

There are some cron-aids available which can help you. I think one is called anacron. This helps those folks who shut down their computer many nights, or fold their laptops at unpredictable times, but still want a "nightly" backup or a regular database update.

--
[ e d @ h a l l e y . c c ]


In reply to Re: OT: Crontab entry missed due to Daylight savings time? by halley
in thread OT: Crontab entry missed due to Daylight savings time? by freddo411

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.