Re: Cron sometimes starts two jobs from the same crontab entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-04-08 20:21, Patrick O'Callaghan wrote:
> On Wed, 2020-04-08 at 17:06 +0800, Ed Greshko wrote:
>> On 2020-04-08 16:56, Patrick O'Callaghan wrote:
>>> On Wed, 2020-04-08 at 07:52 +0800, Ed Greshko wrote:
>>>> On 2020-04-08 07:27, Cameron Simpson wrote:
>>>>> On 07Apr2020 07:07, Terry Barnaby <terry1@xxxxxxxxxxx> wrote:
>>>>>> 01 23 * * 1 root /src/bbackup/bbackup-beam
>>>>> [...]
>>>>>
>>>>> 1:23am. Do not the timezone shifts happen at 2am (avoids horrible day changes if it happened at 12am). So 1:23am can happen twice if 2am steps back to 1am.
>>>>>
>>>>> Our summer time just ended here. Might a similar shift have happened for you?
>>>> Well, except that the format of the crontab is....
>>>>
>>>> Minute  Hour Day-of-Month .....
>>> How does that avoid the problem? The same time can still happen twice.
>>>
>> ????
>>
>> How can 23:01 happen twice at the switch to/from DST?
> It can happen when switching from summer time (i.e. "fall back"),
> though not on switching to summer time ("spring forward"), which of
> course is the OP's case.
>
> I don't know how it works where you live, but in the UK the autumn
> switch occurs at 2am, which reverts back to being 1am. Thus a time such
> as 1:30am occurs twice, and events programmed for that time can be
> triggered twice.
>

BUT, we are specifically addressing the OP's situation and the time in his crontab ISN'T within the
time frame of when BST (the OP is in the UK) starts/ends.

Daylight saving time 2020 in United Kingdom began at 1:00 AM on
Sunday, March 29
and ends at 2:00 AM on
Sunday, October 25
All times are in United Kingdom Time.

Not near 23:01 which is the OP's cron start time.

-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux