Thanks,

This patch fix up this problem, but reveal/causes an other one.

For some reason hour=11 is turned in hour=11-23.

This seems to solves it, but need more testing.

        try:
            start, end = range.split('-')
        except ValueError:
-             return slice(mapping(range), None, int(step))
+            return slice(mapping(range), mapping(range)+1 , int(step))

-----------

# Automatically generated by systemd-crontab-generator

[Unit]
Description=[Cron] "55-59 11 * * 1-6 root true"
PartOf=cron.target
RefuseManualStart=true
RefuseManualStop=true
SourcePath=/etc/cron.d/test

[Timer]
Unit=cron-test-root-0.service
OnCalendar=Fri,Mon,Thu,Tue,Wed *-*-* 
11,12,13,14,15,16,17,18,19,20,21,22,23:55,56,57,58:00
Persistent=true


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to