Class Job

Concrete\Core\Foundation\Object
Extended by Concrete\Core\Job\Job
Abstract
Namespace: Concrete\Core\Job
Located at src/Job/Job.php

Methods summary

abstract public
# run( )
abstract public
abstract public
public
public
# getJobID( )
public
public
public
# didFail( )
public
public
public static
public
public
public
public static
public static
public static
# exportList( $xml )
public static Concrete\Core\Job\Job[]
# getList( boolean $scheduledOnly = false )
public
# reset( )
public
public
# markCompleted( $resultCode = 0, $resultMsg = false )
public static
# getByID( $jID = 0 )
public static
# getByHandle( $jHandle = '' )
public static
# getJobObjByHandle( $jHandle = '', $jobData = array() )
protected static
# getClassName( $jHandle, $pkgHandle = null )
public static
# getAvailableList( $includeConcreteDirJobs = 1 )
public
public
# setJobStatus( $jStatus = 'ENABLED' )
public static
# installByHandle( $jHandle = '' )
public static
public static
# installByPackage( $jHandle, $pkg )
public
# install( )
public
public static
# clearLog( )

Removes Job log entries

public
public
# setSchedule( $scheduled, $interval, $value )

Constants summary

integer JOB_SUCCESS
# 0
integer JOB_ERROR_EXCEPTION_GENERAL
# 1

Properties summary

protected array $jobClassLocations
# array()
public integer $jID
# 0
public string $jStatus
# 'ENABLED'
public array $availableJStatus
# array( 'ENABLED','RUNNING','ERROR','DISABLED_ERROR','DISABLED' )
public $jDateLastRun
#
public string $jHandle
# ''
public integer $jNotUninstallable
# 0
public integer $isScheduled
# 0
public string $scheduledInterval
# 'days'
public integer $scheduledValue
# 0

Properties inherited from Concrete\Core\Foundation\Object

$error