Anonymous | Login | Signup for a new account | 2021-01-25 13:13 GMT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000736 | SiT! | scheduler | public | 2009-06-16 15:45 | 2009-08-16 14:39 | ||||
Reporter | mfeider67 | ||||||||
Assigned To | ivan | ||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 3.45 | ||||||||
Target Version | 3.50 | Fixed in Version | 3.50 | ||||||
Summary | 0000736: scheduler time check | ||||||||
Description | scheduler only runs every other time due to race condition on when time gets updated and if is = rather than simply < | ||||||||
Additional Information | In functions.inc.php::schedule_actions_due, line 5550 $sql .= "AND IF(UNIX_TIMESTAMP(lastran) > 0, UNIX_TIMESTAMP(lastran) + `interval` < $now, UNIX_TIMESTAMP(NOW())) "; should be $sql .= "AND IF(UNIX_TIMESTAMP(lastran) > 0, UNIX_TIMESTAMP(lastran) + `interval` <= $now, UNIX_TIMESTAMP(NOW())) "; notice the '<=' instead of '<' | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
ivan (administrator) 2009-06-16 17:45 |
Added in trunk svn r5468 - thanks for the patch I didn't spot that one at all. |
ivan (administrator) 2009-08-16 14:39 |
Released in 3.50rc1 |
![]() |
|||
Date Modified | Username | Field | Change |
2009-06-16 15:45 | mfeider67 | New Issue | |
2009-06-16 17:14 | kieran | Status | new => confirmed |
2009-06-16 17:14 | kieran | Target Version | => 3.50 |
2009-06-16 17:45 | ivan | Note Added: 0001217 | |
2009-06-16 17:45 | ivan | Assigned To | => ivan |
2009-06-16 17:45 | ivan | Status | confirmed => resolved |
2009-06-16 17:45 | ivan | Resolution | open => fixed |
2009-06-16 17:45 | ivan | Fixed in Version | => Current SVN |
2009-08-16 13:16 | ivan | Fixed in Version | Current SVN => 3.50 |
2009-08-16 14:39 | ivan | Note Added: 0001634 | |
2009-08-16 14:39 | ivan | Status | resolved => closed |
Copyright © 2000 - 2021 MantisBT Team |