Property | Type | Description | |
---|---|---|---|
$accountId | |||
$comments | |||
$config | |||
$envId | |||
$id | |||
$lastStartTime | |||
$name | |||
$restartEvery | |||
$scriptId | |||
$startTime | |||
$status | |||
$targetId | |||
$targetServerIndex | |||
$targetType | |||
$timezone | |||
$type |
Property | Type | Description | |
---|---|---|---|
$dbMessageKeyNotFound | |||
$dbPrimaryKey | |||
$dbPropertyMap | |||
$dbTableName |
Method | Description | |
---|---|---|
execute ( $manual = false ) : boolean | Executes the task | |
getTypeByName ( $name ) | ||
init ( $className = null ) : Scalr_SchedulerTask | ||
isExecutedRecently ( ) : boolean | Checks whether this task was executed recently | |
updateLastStartTime ( ) |
public static init ( $className = null ) : Scalr_SchedulerTask | ||
return | Scalr_SchedulerTask |
public isExecutedRecently ( ) : boolean | ||
return | boolean | Returns TRUE if either the task was executed less than 30 seconds ago or it has never been executed. |