Skip to content

lastExecution calculates incorrect result for less-than-annual schedules #402

@sbandler

Description

@sbandler

lastExecution seems to be ignoring the quartz year field when calculating the lastExecution.

Setting "now" to 1/15/2015 0:0:0:0 UTC, using quartz expression "0 0 0 1 3 ? 2001/2", the last execution should be 3/1/2013, however the result produced is 3/1/2014.

If you generate last execution and check if its a match, it returns false.

if you generate next execution, it returns the correct result.

if you generate next execution and then the last before that, it returns an incorrect result.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions