CronjobInterface
in
Interface CronjobInterface
Table of Contents
- getConfiguration() : CronjobConfigurationCollection
- Returns the cronjob configuration.
- getInterval() : string
- Returns the cronjob interval.
- getLog() : string
- Returns the cronjob log.
- getName() : mixed
- Returns the cronjob name.
- getStatus() : string
- Returns the cronjob status.
- getTitle() : mixed
- Returns the cronjob title.
- toArray() : array<string|int, mixed>
- Returns the cronjob data as array.
Methods
getConfiguration()
Returns the cronjob configuration.
public
getConfiguration() : CronjobConfigurationCollection
Return values
CronjobConfigurationCollection —getInterval()
Returns the cronjob interval.
public
getInterval() : string
Return values
string —getLog()
Returns the cronjob log.
public
getLog(ExistingDirectory $logDir) : string
Parameters
- $logDir : ExistingDirectory
-
Absolute path to log files directory,
Return values
string —getName()
Returns the cronjob name.
public
getName() : mixed
Return values
mixed —getStatus()
Returns the cronjob status.
public
getStatus(ExistingDirectory $cache) : string
Parameters
- $cache : ExistingDirectory
-
Absolute path to cache directory.
Return values
string —getTitle()
Returns the cronjob title.
public
getTitle() : mixed
Return values
mixed —toArray()
Returns the cronjob data as array.
public
toArray(ExistingDirectory $cacheDir) : array<string|int, mixed>
Parameters
- $cacheDir : ExistingDirectory