Package: cron
Version: 3.0pl1-127+deb8u1
Severity: normal

--- Please enter the report below this line. ---

When using stepwise notation, there is no cron-error when a step-size is
picked which is bigger than the max. value of the field.
E.g. the following entry is valid: */500 */400 */31 */12 */300 MyCommand
And will be interpreted as:  * * * Jan *

Actually I quess it does not make much sense to pick a step-size which
is bigger than max/2 ... or is there any use-case ? Personally I would
restrict it to max/2.

Just let me know how you want to restrict it, and I will provide a patch!

Cheers,
Alex

--- System information. ---
Architecture: amd64
Kernel: Linux 3.16.0-4-amd64

Debian Release: 8.4
500 stable-updates ftp2.de.debian.org
500 stable www.deb-multimedia.org
500 stable security.debian.org
500 stable ftp2.de.debian.org
500 stable ftp.de.debian.org
100 jessie-backports httpredir.debian.org

--- Package information. ---
Depends (Version) | Installed
=====================================-+-==============
libc6 (>= 2.7) |
libpam0g (>= 0.99.7.1) |
libselinux1 (>= 1.32) |
init-system-helpers (>= 1.18~) |
debianutils (>= 1.7) |
adduser |
lsb-base (>= 3.0-10) |
libpam-runtime (>= 1.0.1-11) |


Package Status (Version) | Installed
=============================-+-===========
nscd |
nis |
libpam-mount |
libpam-ldap |
libnss-ldap |
libnss-ldapd |


Recommends (Version) | Installed
===================================-+-===========
exim4 | 4.84.2-1
OR postfix | 2.11.3-1
OR mail-transport-agent |


Suggests (Version) | Installed
============================-+-===========
anacron (>= 2.0-1) | 2.3-23
logrotate | 3.8.7-1+b1
checksecurity |

Reply via email to