Свойство | Type | Description | |
---|---|---|---|
$accountId | |||
$comments | |||
$config | |||
$envId | |||
$id | |||
$lastStartTime | |||
$name | |||
$restartEvery | |||
$scriptId | |||
$startTime | |||
$status | |||
$targetId | |||
$targetServerIndex | |||
$targetType | |||
$timezone | |||
$type |
Свойство | Type | Description | |
---|---|---|---|
$dbMessageKeyNotFound | |||
$dbPrimaryKey | |||
$dbPropertyMap | |||
$dbTableName |
Méthode | 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 | ||
Résultat | Scalr_SchedulerTask |
public isExecutedRecently ( ) : boolean | ||
Résultat | boolean | Returns TRUE if either the task was executed less than 30 seconds ago or it has never been executed. |