CronController
extends BaseCronController
in package
Class BaseCronController
Table of Contents
Properties
- $em : EntityManager
- $trans : Translator|NativeArray
- $handler : HandlerComponent
- Cronjob handler.
- $modules : array<string|int, Module>
- Api modules.
- $start : float
- Cronjob start in microtime.
- $jobRestartService : JobRestartService
Methods
- __destruct() : mixed
- Finish cronjob and log the report.
- execPrep() : mixed
- initialize() : mixed
- Disable view render and start cronjob.
- moveElsterJobFilesToCorrectBucketAction() : mixed
- Only execute it in production we will leave staging files in test bucket
- renameElsterJobFilesAction() : mixed
- restartStuckJobsAction() : mixed
- sumhelp() : mixed
- watchJobsAction() : mixed
- watchJobsIdAction() : mixed
Properties
$em read-only
public
EntityManager
$em
$trans read-only
public
Translator|NativeArray
$trans
$handler
Cronjob handler.
protected
HandlerComponent
$handler
$modules
Api modules.
protected
array<string|int, Module>
$modules
$start
Cronjob start in microtime.
protected
float
$start
$jobRestartService
private
JobRestartService
$jobRestartService
Methods
__destruct()
Finish cronjob and log the report.
public
__destruct() : mixed
execPrep()
public
execPrep(mixed $s, mixed $b, mixed $t) : mixed
Parameters
- $s : mixed
- $b : mixed
- $t : mixed
initialize()
Disable view render and start cronjob.
public
initialize() : mixed
moveElsterJobFilesToCorrectBucketAction()
Only execute it in production we will leave staging files in test bucket
public
moveElsterJobFilesToCorrectBucketAction() : mixed
renameElsterJobFilesAction()
public
renameElsterJobFilesAction() : mixed
restartStuckJobsAction()
public
restartStuckJobsAction(string $restartType[, mixed $updateTimeDifferenceHours = null ]) : mixed
Parameters
- $restartType : string
- $updateTimeDifferenceHours : mixed = null
Tags
sumhelp()
public
sumhelp(mixed $h2Body) : mixed
Parameters
- $h2Body : mixed
watchJobsAction()
public
watchJobsAction() : mixed
watchJobsIdAction()
public
watchJobsIdAction(mixed $id) : mixed
Parameters
- $id : mixed