Skip Menu |

This queue is for tickets about the DateTime-Event-Cron CPAN distribution.

Report information
The Basics
Id: 96359
Status: rejected
Priority: 0/
Queue: DateTime-Event-Cron

Owner: MSISK [...]
Requestors: wolfgang.schlueschen [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: wrong results returned from days_contain
Date: Tue, 10 Jun 2014 13:07:52 +0000
To: "bug-DateTime-Event-Cron [...]" <bug-DateTime-Event-Cron [...]>
From: Wolfgang Schlueschen <wolfgang.schlueschen [...]>
Download (untitled) / with headers
text/plain 392b
Hi, for an entry in crontab file like: 50 10 1 * 1-5,0,7 D:\\execute.bat matching of date/time seems not to be implemented in the right way in the subroutine days_contain. Instead positive match on day ( which is 1 ) && dow ( which is 1-5,0,7 ) there is always a positive match as long as dow matches without taking into account the day of the month. Regards, Wolfgang
Download smime.p7s
application/pkcs7-signature 7.4k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 348b
When both DOM and DOW have constraints, a day matches when either one matches as opposed to when both match. From crontab(5): "The day of a command's execution can be specified by two fields — day of month, and day of week. If both fields are restricted (i.e., aren't *), the command will be run when either field matches the current time."

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to