NextDom\Managers\CronManager
Class CronManager
Synopsis
class CronManager
extends BaseManager
{
- // constants
- const CLASS_NAME = Cron::class;
- const DB_CLASS_NAME = '`cron`';
- // Inherited constants from BaseManager
- const CLASS_NAME = '';
- const DB_CLASS_NAME = '``';
- // Inherited members from BaseManager
- protected static $baseSQL;
- protected static $prefixedBaseSQL;
- // methods
- public static Cron byClassAndFunction()
- public static array searchClassAndFunction()
- public static void clean()
- public static array all()
- public static int nbCronRun()
- public static int nbProcess()
- public static array loadAvg()
- public static void setPidFile()
- public static boolean jeeCronRun()
- public static false|string getPidFile()
- public static string convertDateToCron()
- public static string convertCronSchedule()
- // Inherited methods from BaseManager
- protected static string getBaseSQL()
- protected static string getPrefixedBaseSQL()
- // Inherited methods from CommonManager
- public static mixed byId()
- protected static mixed|null getAll()
- public static int getCount()
- protected static mixed|null getAllOrdered()
- protected static mixed|null getOneByClauses()
- protected static mixed|null getMultipleByClauses()
- protected static mixed|null searchOneByClauses()
- protected static mixed|null searchMultipleByClauses()
Hierarchy
Tasks
Line | Task |
---|---|
161+ | : Move to other place ? |
173+ | : Inutile, autant appeler directement la fonction |
Constants
Name | Value |
---|---|
CLASS_NAME | Cron::class |
DB_CLASS_NAME | '`cron`' |
CLASS_NAME | '' |
DB_CLASS_NAME | '``' |
Members
protected
- $baseSQL — array
- $prefixedBaseSQL — array
Methods
public
- all() — Return an array of all cron objects
- byClassAndFunction() — Return cron object by class and function
- clean() — Clean cron that will never run
- convertCronSchedule() — convert cron schedule string
- convertDateToCron() — Convert date to cron format.
- getPidFile() — Return the current pid of jeecron or empty if not running
- jeeCronRun() — Get status of jeeCron
- loadAvg() — Return array of load average
- nbCronRun() — Return number of running cron
- nbProcess() — Return number of process on system
- searchClassAndFunction() — Return cron object by class and function
- setPidFile() — Write jeeCron PID of current process
Inherited from NextDom\Managers\Parents\BaseManager
protected
- getBaseSQL() — Get base of Select SQL
- getPrefixedBaseSQL() — Get prefixed base of Select SQL
Inherited from NextDom\Managers\Parents\CommonManager
protected
- getAll() — Get all objects
- getAllOrdered() — Get all object sorted on column
- getMultipleByClauses() — Get one multiple filtered with clauses
- getOneByClauses() — Get one object filtered with clauses
- searchMultipleByClauses() — Search one multiple filtered with clauses
- searchOneByClauses() — Search one object filtered with clauses
public
- byId() — Get one object by his id
- getCount() — Get count(*).