Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004560 [Resin] minor always 05-16-11 13:22 07-07-11 11:18
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.9
Summary 0004560: ScheduledTask pushes nextTime out for a week.
Description rep. by Tyson Weighs
We've been racking our brains over why our scheduled tasks work in
3.1.8 and not 3.1.9. It turns out they work, but a change in 3.1.9 is
causing the nextTime to get pushed out a week. Here's some log
statements from resin:

[2009/11/01 13:25:23.747]
ScheduledTask[com.foreflight.notam.NOTAMDownloadService$BeanProxy@6bebe2a7,CronType[*/10
* * * *]] started. Next event at Sun Nov 08 19:30:00 GMT 2009
[2009/11/01 13:25:23.748]
ScheduledTask[com.foreflight.wdt.AirportPriorityExportService$BeanProxy@4b6d794b,CronType[0
0 1 * *]] started. Next event at Tue Dec 01 06:00:00 GMT 2009
[2009/11/01 13:25:23.748]
ScheduledTask[com.foreflight.plan.FutureFlightPlanTask$BeanProxy@36519d,CronType[*/5
* * * *]] started. Next event at Sun Nov 08 19:30:00 GMT 2009

I ran this today, and even though there is a "*" in the day of week
field, our tasks won't start running for a week.

I noticed a diff between CronType in 3.1.8 and 3.1.9 in the "nextTime"
method that may be the culprit. It looks like a day is getting
subtracted in 3.1.9 that wasn't in 3.1.8.

We really need to get 3.1.9 in production b/c of the mem leak issue in
3.1.8. Is it possible for a patch to get pushed that fixes this
scheduled task issue?
Additional Information
Attached Files

- Relationships

- Notes
(0005367)
ferg
07-07-11 11:18

server/133j
 

- Issue History
Date Modified Username Field Change
05-16-11 13:22 alex New Issue
07-07-11 11:18 ferg Note Added: 0005367
07-07-11 11:18 ferg Assigned To  => ferg
07-07-11 11:18 ferg Status new => closed
07-07-11 11:18 ferg Resolution open => fixed
07-07-11 11:18 ferg Fixed in Version  => 4.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker