Methods
CronjobRepository constructor.
__construct(\CI_DB_query_builder $db, \CronjobSettings $settings)
Returns the configuration value.
_getConfigurationValue(array $configuration, array|null $result = null) : boolean|mixed
If data was found in the $result, they get processed and returned.
Otherwise, the default from $configuration is used.
Arguments
Response
boolean|mixed
Returns the DateTime that is contained in a given file.
_getDateTimeFromFlagFile(\StringType $flagPath) : \DateTime
Arguments
Response
\DateTime
Checks if given file info is a cronjob configuration file.
_isCronjobConfiguration(\SplFileInfo $configFile) : boolean
Arguments
Response
boolean
Maps cronjob data by the given config file.
_mapCronjob(\SplFileInfo $configFile) : array
Maps cronjob configurations by their related data.
_mapCronjobConfiguration(string $cronjobName, string $key, array $configuration) : array
Returns all cronjobs.
getAll() : array
Response
array
Collected cronjobs with meta data about execution.
Returns a cronjob by the given identifier.
getByName(\StringType $name) : array
Arguments
Response
array
Cronjob of given identifier.
Properties
db
db : \CI_DB_query_builder
Type(s)
\CI_DB_query_builder
settings
settings : \CronjobSettings