cron
extends cli
in package
FanPress CM cli cron module
Tags
Table of Contents
- PARAM_CHGROLL = '--chgroll'
- CLI param: --chgroll
- PARAM_CLEAN = '--clean'
- CLI param: --clean
- PARAM_CLEAR = '--clear'
- CLI param: --clear
- PARAM_DISABLE = '--disable'
- CLI param: --disable
- PARAM_ENABLE = '--enable'
- CLI param: --enable
- PARAM_EXEC = '--exec'
- CLI param: --exec
- PARAM_INFO = '--info'
- CLI param: --info
- PARAM_INSTALL = '--install'
- CLI param: --install
- PARAM_LIST = '--list'
- CLI param: --list
- PARAM_LISTROLLS = '--listrolls'
- CLI param: --chgroll
- PARAM_PASSWD = '--passwd'
- CLI param: --passwd
- PARAM_REMOVE = '--remove'
- CLI param: --remove
- PARAM_SIZE = '--size'
- CLI param: --size
- PARAM_TYPE_MODULE = 'module'
- CLI param: package manager type: module
- PARAM_TYPE_MODULES = 'modules'
- CLI param: package manager type: modules (All modules)
- PARAM_TYPE_SYSTEM = 'system'
- CLI param: package manager type: system
- PARAM_UPDATE = '--update'
- CLI param: --update
- PARAM_UPGRADE = '--upgrade'
- CLI param: --upgrade
- PARAM_UPGRADE_DB = '--upgrade-db'
- CLI param: --upgrade-db
- $cache : cache
- Cache object
- $cacheModule : string
- Cache Modul
- $cacheName : string
- Cache name
- $config : config
- Config object
- $data : array<string|int, mixed>
- Data array
- $events : events
- Event list
- $funcParams : array<string|int, mixed>
- Funktionsparameter
- $language : language
- Sprachobjekt
- $notifications : notifications
- Notifications
- $permissions : permissions
- Permissions
- $session : session
- Session objekt
- __construct() : void
- Konstruktor
- getCacheName() : string
- Cache-Name zurückgeben
- help() : array<string|int, mixed>
- Returns help text array
- process() : void
- Modul ausführen
- boolText() : string
- Returns text by bool value
- debug() : mixed
- CLI debug output
- input() : mixed
- CLI input
- output() : mixed
- CLI output
- execAllCrons() : bool
- Execute all executable cronjobs
- execCron() : mixed
- Executed cronjob
- listCrons() : bool
- Lists executable cronjobs
- resetCron() : mixed
- Resets cronjob execution state data
Constants
PARAM_CHGROLL
CLI param: --chgroll
public
mixed
PARAM_CHGROLL
= '--chgroll'
PARAM_CLEAN
CLI param: --clean
public
mixed
PARAM_CLEAN
= '--clean'
PARAM_CLEAR
CLI param: --clear
public
mixed
PARAM_CLEAR
= '--clear'
PARAM_DISABLE
CLI param: --disable
public
mixed
PARAM_DISABLE
= '--disable'
PARAM_ENABLE
CLI param: --enable
public
mixed
PARAM_ENABLE
= '--enable'
PARAM_EXEC
CLI param: --exec
public
mixed
PARAM_EXEC
= '--exec'
PARAM_INFO
CLI param: --info
public
mixed
PARAM_INFO
= '--info'
PARAM_INSTALL
CLI param: --install
public
mixed
PARAM_INSTALL
= '--install'
PARAM_LIST
CLI param: --list
public
mixed
PARAM_LIST
= '--list'
PARAM_LISTROLLS
CLI param: --chgroll
public
mixed
PARAM_LISTROLLS
= '--listrolls'
PARAM_PASSWD
CLI param: --passwd
public
mixed
PARAM_PASSWD
= '--passwd'
PARAM_REMOVE
CLI param: --remove
public
mixed
PARAM_REMOVE
= '--remove'
PARAM_SIZE
CLI param: --size
public
mixed
PARAM_SIZE
= '--size'
PARAM_TYPE_MODULE
CLI param: package manager type: module
public
mixed
PARAM_TYPE_MODULE
= 'module'
PARAM_TYPE_MODULES
CLI param: package manager type: modules (All modules)
public
mixed
PARAM_TYPE_MODULES
= 'modules'
PARAM_TYPE_SYSTEM
CLI param: package manager type: system
public
mixed
PARAM_TYPE_SYSTEM
= 'system'
PARAM_UPDATE
CLI param: --update
public
mixed
PARAM_UPDATE
= '--update'
PARAM_UPGRADE
CLI param: --upgrade
public
mixed
PARAM_UPGRADE
= '--upgrade'
PARAM_UPGRADE_DB
CLI param: --upgrade-db
public
mixed
PARAM_UPGRADE_DB
= '--upgrade-db'
Properties
$cache
Cache object
protected
cache
$cache
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
Tags
$cacheName
Cache name
protected
string
$cacheName
= false
$config
Config object
protected
config
$config
$data
Data array
protected
array<string|int, mixed>
$data
$events
Event list
protected
events
$events
$funcParams
Funktionsparameter
protected
array<string|int, mixed>
$funcParams
= []
$language
Sprachobjekt
protected
language
$language
$notifications
Notifications
protected
notifications
$notifications
Tags
$permissions
Permissions
protected
permissions
$permissions
Tags
$session
Session objekt
protected
session
$session
Methods
__construct()
Konstruktor
public
__construct() : void
Return values
void —getCacheName()
Cache-Name zurückgeben
public
getCacheName([string $addName = '' ]) : string
Parameters
- $addName : string = ''
Return values
string —help()
Returns help text array
public
help() : array<string|int, mixed>
Return values
array<string|int, mixed> —process()
Modul ausführen
public
process() : void
Return values
void —boolText()
Returns text by bool value
protected
boolText(bool $value) : string
Parameters
- $value : bool
Return values
string —debug()
CLI debug output
protected
debug(string $str[, bool $exit = false ]) : mixed
Parameters
- $str : string
- $exit : bool = false
Return values
mixed —input()
CLI input
protected
input(string $str) : mixed
Parameters
- $str : string
Return values
mixed —output()
CLI output
protected
output(string $str[, bool $exit = false ]) : mixed
Parameters
- $str : string
- $exit : bool = false
Return values
mixed —execAllCrons()
Execute all executable cronjobs
private
execAllCrons() : bool
Return values
bool —execCron()
Executed cronjob
private
execCron(cron $cronjob) : mixed
Parameters
- $cronjob : cron
Return values
mixed —listCrons()
Lists executable cronjobs
private
listCrons() : bool
Return values
bool —resetCron()
Resets cronjob execution state data
private
resetCron(cron $cronjob) : mixed
Parameters
- $cronjob : cron