CronjobServiceInterface
in
Interface CronjobServiceInterface
Table of Contents
- getAll() : CronjobCollection
- Returns all cronjobs.
- getByName() : Cronjob
- Returns a cronjob by the given identifier.
- save() : void
- Saves cronjob configuration into the storage.
Methods
getAll()
Returns all cronjobs.
public
getAll() : CronjobCollection
Return values
CronjobCollection —Collected cronjobs with meta data about execution.
getByName()
Returns a cronjob by the given identifier.
public
getByName(StringType $name) : Cronjob
Parameters
- $name : StringType
-
Cronjob identifier.
Return values
Cronjob —Cronjob of given identifier.
save()
Saves cronjob configuration into the storage.
public
save(StringType $cronjob, KeyValueCollection $data) : void
Parameters
- $cronjob : StringType
-
Name of configured cronjob.
- $data : KeyValueCollection
-
Configuration data.