Bad next execution time
See original GitHub issue@tcn reported us the following issue: Bad next execution time: this schedules for 7th of june rather than 31st of may. The exact location where things go wrong appears to be in generateCandidatesNotIncludingIntervalExtremes(), specifically the while(reference<end).
final CronParser parser = new CronParser(CronDefinitionBuilder.instanceDefinitionFor(UNIX));
final DateTime now = DateTime.parse("2016-05-24T01:02:50");//.withTimeAtStartOfDay();
//final DateTime now = DateTime.parse("2016-06-07T00:01:02");//.withTimeAtStartOfDay();
final ExecutionTime executionTime = ExecutionTime.forCron(parser.parse("1 0 * * tue"));
final Timestamp nextExecution = new Timestamp(executionTime.nextExecution(now).getMillis());
System.out.println(nextExecution);
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Upcoming Executions - Death Penalty Information Center
EXECUTION HALTED by Department of Corrections Commissioner John Hamm shortly before midnight (Central Time) on September 22, 2022 when the execution team ...
Read more >Worst-Case Execution Time - an overview - ScienceDirect.com
Worst-case execution time. The worst-case execution time, C, is the maximum execution time that the RT_Operation requires. It is used in conservative ...
Read more >Time remaining for the next run - Unix & Linux Stack Exchange
I'd need output as, 19 Hours and 38 Minutes How would I be knowing the total time until next run occurs from current...
Read more >The Next to Die | The Marshall Project
For five and a half years, The Next to Die tracked every execution scheduled in the United States, starting in 2015.
Read more >Windows Task Scheduler does not start task at next run time
The trigger says "At 6:50 PM every day - After triggered, repeat every 10 minutes indefinitively." Looking at the Next Run Time, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tcn @fsi206914 @lpbak @thachhoang Version 4.1.1 was released with this fixes!
@thachhoang thank you for the fix! That solves the issue, and also provides a solution to issue #54 @tcn @fsi206914 @lpbak issue solved!