CronJobClass
in package
AbstractYes
Table of Contents
Constants
- ECHO_MODE_FULL = 'full'
- ECHO_MODE_LOG = 'log'
- JOB_NAME = 'cron'
Properties
- $echo : string
- $echo_mode : string
Methods
- echoMode() : void
- run() : void
- echo() : void
- getEcho() : string
- saveEcho() : void
- sendToAdmins() : void
- text() : void
Constants
ECHO_MODE_FULL
public
mixed
ECHO_MODE_FULL
= 'full'
ECHO_MODE_LOG
public
mixed
ECHO_MODE_LOG
= 'log'
JOB_NAME
public
mixed
JOB_NAME
= 'cron'
Properties
$echo
private
static string
$echo
= ''
$echo_mode
private
static string
$echo_mode
= self::ECHO_MODE_FULL
Methods
echoMode()
public
static echoMode(string $mode) : void
Parameters
- $mode : string
run()
public
abstract static run() : void
echo()
protected
static echo(string $text) : void
Parameters
- $text : string
getEcho()
protected
static getEcho() : string
Return values
stringsaveEcho()
protected
static saveEcho() : void
sendToAdmins()
protected
static sendToAdmins(string $subject, string $body) : void
Parameters
- $subject : string
- $body : string
text()
protected
static text(string $text) : void
Parameters
- $text : string