CronjobTaskService

Implements \CronjobTaskServiceInterface

Class CronjobTaskService

package

Default

Methods

CronjobService constructor.

__construct(\CronjobTaskRepositoryInterface $repository) 

Arguments

$repository

\CronjobTaskRepositoryInterface

Cronjob repository.

createCacheDirectory

createCacheDirectory() 

Returns the cronjob url.

getCronjobUrl() : string
static

Response

string

Executes all valid cronjobs.

run() : void

Sets a file flag for the last begin of cronjobs execution.

setLastRunFlag() 

Sets a file flag for the last succceeded cronjobs execution.

setLastSuccessFlag() 

Properties

repository

repository : \CronjobTaskRepositoryInterface