View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11291Bug reportsPluginspublic2016-05-30 14:18
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary11291: cron event don't happen
Description

Using php application/commands/console.php plugin cron --interval=42 : nothing happen

Steps To Reproduce

Test the included plugin , go to command and lauach php application/commands/console.php plugin cron --interval=42 : nothing happen

Additional Information

I's sure it wrok some day/week before .

TagsNo tags attached.
Attached Files
cronEvent.php (525 bytes)   
<?php
/**
 * Test cron event
 *
 * @author Denis Chenu <denis@sondages.pro>
 * @copyright 2016 Denis Chenu <http://www.sondages.pro>
 * @license WTFPL (Do What The Fuck You Want to Public License)
 * @version 0.0.1
 *
 */
class cronEvent extends \ls\pluginmanager\PluginBase
{

    static protected $name = 'cronEvent';
    static protected $description = 'Test of cron event';

    public function init()
    {
        $this->subscribe('cron');
    }

    public function cron()
    {
        echo "event happen\n";
    }
}
cronEvent.php (525 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)160528
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)apache
PHP VersionPHP Version 5.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-05-28 15:48

developer   ~38992

Last edited: 2016-05-28 16:14

Errors is in App()->getConfig : return null/empty and remove the test : work

DenisChenu

DenisChenu

2016-05-28 18:07

developer   ~38993

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=19230

DenisChenu

DenisChenu

2016-05-28 18:09

developer   ~38994

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=19231

c_schmitz

c_schmitz

2016-05-30 14:18

administrator   ~39009

Version 2.50+ Build 160529 released

Related Changesets

LimeSurvey: master b8555faa

2016-05-28 16:07:14

DenisChenu

Details Diff
Fixed issue 11291: cron event never happen
Dev: see https://bugs.limesurvey.org/view.php?id=11294
Affected Issues
11291
mod - application/libraries/PluginManager/PluginManager.php Diff File

LimeSurvey: master 56458c5e

2016-05-28 16:09:29

DenisChenu

Details Diff
Fixed issue 11291: cron event never happen
Dev: see https://bugs.limesurvey.org/view.php?id=11294
Affected Issues
11291
mod - application/libraries/PluginManager/PluginManager.php Diff File

Issue History

Date Modified Username Field Change
2016-05-28 15:48 DenisChenu New Issue
2016-05-28 15:48 DenisChenu File Added: cronEvent.php
2016-05-28 15:48 DenisChenu Note Added: 38992
2016-05-28 15:52 DenisChenu Note Edited: 38992
2016-05-28 16:14 DenisChenu Note Edited: 38992
2016-05-28 16:27 DenisChenu Assigned To => DenisChenu
2016-05-28 16:27 DenisChenu Status new => assigned
2016-05-28 17:53 DenisChenu Assigned To DenisChenu => c_schmitz
2016-05-28 18:07 DenisChenu Changeset attached => LimeSurvey master b8555faa
2016-05-28 18:07 DenisChenu Note Added: 38993
2016-05-28 18:07 DenisChenu Assigned To c_schmitz => DenisChenu
2016-05-28 18:07 DenisChenu Resolution open => fixed
2016-05-28 18:07 DenisChenu Status assigned => resolved
2016-05-28 18:07 DenisChenu Fixed in Version => 2.5
2016-05-28 18:09 DenisChenu Changeset attached => LimeSurvey master 56458c5e
2016-05-28 18:09 DenisChenu Note Added: 38994
2016-05-30 14:18 c_schmitz Note Added: 39009
2016-05-30 14:18 c_schmitz Status resolved => closed