Skip to content

icms_sys_autotasks_System

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_sys_autotasks_System

ImpressCMS AUTOTASKSs Library - Base class

Methods

getName

string icms_sys_autotasks_ISystem::getName()

Gets current system name

needExecution

bool icms_sys_autotasks_ISystem::needExecution()

Returns if handler needs to be executed

needExit

bool icms_sys_autotasks_ISystem::needExit()

Returns if script must end when there is all tasks executed

canRun

bool icms_sys_autotasks_ISystem::canRun()

check if can run

start

bool icms_sys_autotasks_ISystem::start(int interval)

Set Checking Interval (if not enabled enables automated tasks system

Arguments

  • interval int - <p>interval of checking for new tasks</p>

stop

bool icms_sys_autotasks_ISystem::stop()

Stops automated tasks system

isEnabled

bool icms_sys_autotasks_ISystem::isEnabled()

checks if core is enabled

needStart

mixed icms_sys_autotasks_ISystem::needStart()

Checks if need set new timer when automated task object was executed

@return bool

Clone this wiki locally