Project

General

Profile

Actions

Bug #26048

open

Recurring Logic accepts some invalid crons

Added by Samir Jha about 5 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The cron syntax validation on the parse-cron gem doesn't seem to handle some cases.
Example: "* * * * 100" is accepted and somehow parser.next returns some value.

For other cases like parser = CronParser.new("100 400 * * *", Time.zone), the error is only when calculating the parser.next.

Actions #1

Updated by Adam Ruzicka over 2 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF