Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7
-
Fix Version/s: STABLE backlog
-
Component/s: Unknown
-
Labels:None
-
Database:Any
-
Affected Branches:MOODLE_19_STABLE
Description
A new cron instance should not run if previous cron is still running.
Issue Links
| This issue is blocked by: | ||||
| MDL-20337 | current values of CFG->courserequestnotify are not displayed in admin screen |
|
|
|
| This issue has a clone: | ||||
| MDL-16257 | Single enrolment flatfile processed concurrently by 20 consecutive crons |
|
|
|
| This issue will be resolved by: | ||||
| MDL-11309 | Add some exclusion locks to cron so that only one runs at any time |
|
|
|
| This issue has been marked as being related by: | ||||
| MDL-9833 | Users receive two email digest per day often, but not always |
|
|
|
This can probably best be achieved on the operating system level!
If the cron script is started on Linux via the CLI, then lckdo can prevent duplicate execution. (http://linux.die.net/man/1/lckdo)