ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilWorkflowCron.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
16 {
24  public static function executeCronjob()
25  {
26  self::raiseTimePassedEvent();
27  }
28 
32  public static function raiseTimePassedEvent()
33  {
35  require_once './Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
36  $workflow_engine = new ilWorkflowEngine();
37 
38  $workflow_engine->processEvent(
39  'time_passed',
40  'time_passed',
41  'none',
42  0,
43  'none',
44  0
45  );
46  }
47 }
static executeCronjob()
This method is the main entry point for all chron tasks that are to be done by/for/with the workflow ...
ilWorkflowEngine is part of the petri net based workflow engine.
static raiseTimePassedEvent()
Raises the generic "time passed" event.
ilWorkflowCron is part of the petri net based workflow engine.