Debian Bug report logs - #608857
cron: Please add the configurable CRONTAB_UTC patch by Björn Danielsson

version graph

Package: cron; Maintainer for cron is Georges Khaznadar <[email protected]>; Source for cron is src:cron (PTS, buildd, popcon).

Reported by: Axel Beckert <[email protected]>

Date: Tue, 4 Jan 2011 03:21:01 UTC

Severity: wishlist

Found in version cron/3.0pl1-116

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Javier Fernandez-Sanguino Pen~a <[email protected]>:
Bug#608857; Package cron. (Tue, 04 Jan 2011 03:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Javier Fernandez-Sanguino Pen~a <[email protected]>. (Tue, 04 Jan 2011 03:21:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Axel Beckert <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: cron: Please add the configurable CRONTAB_UTC patch by Björn Danielsson
Date: Tue, 04 Jan 2011 04:19:25 +0100
[Message part 1 (text/plain, inline)]
Package: cron
Version: 3.0pl1-116
Severity: wishlist

According to crontab(7) there's no possibility to write cronjobs which
are independent of local DST regulations if the local time of the system
uses a timezone with a DST rule.

An elegant and backwards-compatible solution for this problem seems to
me the patch by Björn Danielsson as published on
http://widell.net/scripts/bd/dst/.

I therefore would appreciate if this patch would be applied to Debian's
version of cron.

-- Package-specific info:
[Message part 2 (text/plain, attachment)]
[Message part 3 (text/plain, inline)]
-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'stable'), (500, 'testing'), (110, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.36-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cron depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  debianutils                   3.4.2      Miscellaneous utilities specific t
ii  dpkg                          1.15.8.7   Debian package management system
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libpam-runtime                1.1.1-6.1  Runtime support for the PAM librar
ii  libpam0g                      1.1.1-6.1  Pluggable Authentication Modules l
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries
ii  lsb-base                      3.2-26     Linux Standard Base 3.2 init scrip

Versions of packages cron recommends:
ii  lockfile-progs                0.1.15     Programs for locking and unlocking
ii  postfix [mail-transport-agent 2.7.1-1    High-performance mail transport ag

Versions of packages cron suggests:
ii  anacron                       2.3-14     cron-like program that doesn't go 
pn  checksecurity                 <none>     (no description available)
ii  logrotate                     3.7.8-6    Log rotation utility

Versions of packages cron is related to:
pn  libnss-ldap                   <none>     (no description available)
pn  libnss-ldapd                  <none>     (no description available)
pn  libpam-ldap                   <none>     (no description available)
pn  libpam-mount                  <none>     (no description available)
pn  nis                           <none>     (no description available)
pn  nscd                          <none>     (no description available)

-- no debconf information

Information forwarded to [email protected], Javier Fernandez-Sanguino Pen~a <[email protected]>:
Bug#608857; Package cron. (Tue, 04 Jan 2011 16:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to Christian Kastner <[email protected]>:
Extra info received and forwarded to list. Copy sent to Javier Fernandez-Sanguino Pen~a <[email protected]>. (Tue, 04 Jan 2011 16:30:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Christian Kastner <[email protected]>
To: Axel Beckert <[email protected]>
Cc: [email protected]
Subject: Re: Bug#608857: cron: Please add the configurable CRONTAB_UTC patch by Björn Danielsson
Date: Tue, 04 Jan 2011 17:27:25 +0100
[Message part 1 (text/plain, inline)]
Hi Axel,

On 01/04/2011 04:19 AM, Axel Beckert wrote:
> According to crontab(7) there's no possibility to write cronjobs which
> are independent of local DST regulations if the local time of the system
> uses a timezone with a DST rule.
> 
> An elegant and backwards-compatible solution for this problem seems to
> me the patch by Björn Danielsson as published on
> http://widell.net/scripts/bd/dst/.
> 
> I therefore would appreciate if this patch would be applied to Debian's
> version of cron.

on that page, the link to the patch is dead: I do get the general idea
though, and think it has merit.

As with the other feature enhancements currently under consideration,
it'll have to wait until we finally upgrade cron to 4.1, which is
(still) going to take a while.


Christian

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to [email protected], Javier Fernández-Sanguino Peña <[email protected]>:
Bug#608857; Package cron. (Sun, 25 Aug 2013 21:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <[email protected]>. (Sun, 25 Aug 2013 21:33:04 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: "Piotr A. Dybczyński" <[email protected]>
To: [email protected]
Subject: Re: Bug#608857: cron: Please add the configurable CRONTAB_UTC patch by Björn Danielsson
Date: Sun, 25 Aug 2013 23:24:17 +0200
[Message part 1 (text/plain, inline)]
Hi Christian,

some time ago I have downloaded Björn Danielsson patch and I use it
systematically in Debian - very useful.

In the attachments please find the original patch from the page mentioned
by Axel and a new version, recently updated by me to work with wheezy.

Please consider including this patch in the Debian cron.

Best wishes,
Piotr
-- 
/**************************************************************************
 Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University 
 homepage: http://apollo.astro.amu.edu.pl/PAD     e-mail: [email protected]
********************************************************************PAD***/
[debian3-cron-utc-patch.txt (text/plain, attachment)]
[debian-wheezy-cron-utc-patch.txt (text/plain, attachment)]

Information forwarded to [email protected], Javier Fernández-Sanguino Peña <[email protected]>:
Bug#608857; Package cron. (Sun, 19 Jan 2014 09:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <[email protected]>. (Sun, 19 Jan 2014 09:00:05 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: "Piotr A. Dybczyński" <[email protected]>
To: [email protected]
Subject: corrected Björn Danielsson patch
Date: Sun, 19 Jan 2014 09:50:30 +0100
[Message part 1 (text/plain, inline)]
Hi,
in my previous e-mail I have attached patch version for wheezy with one
line missing what I found yesterday, applying the patch at next Debian
server.

I am attaching the corrected version, it works on Debian Wheezy. 

I think this patch, originally by Björn Danielsson, is of great value, when
it is necessary to keep some cron jobs strictly periodic in UTC and some
jobs synchronized with the local time. 

Sorry for sending faulty patch in my previous mail.

Best regards,
PAD
-- 
/**************************************************************************
 Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University 
 homepage: http://apollo.astro.amu.edu.pl/PAD     e-mail: [email protected]
********************************************************************PAD***/
[debian-wheezy-cron-utc-patch2.txt (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 12:17:43 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.