TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Version\Task\AutoPublishTask Class Reference
Inheritance diagram for TYPO3\CMS\Version\Task\AutoPublishTask:
TYPO3\CMS\Scheduler\Task\AbstractTask

Public Member Functions

 execute ()
 
- Public Member Functions inherited from TYPO3\CMS\Scheduler\Task\AbstractTask
 __construct ()
 
 execute ()
 
 getAdditionalInformation ()
 
 setTaskUid ($id)
 
 getTaskUid ()
 
 getTaskTitle ()
 
 getTaskDescription ()
 
 getTaskClassName ()
 
 isDisabled ()
 
 setDisabled ($flag)
 
 setExecutionTime ($timestamp)
 
 getTaskGroup ()
 
 setTaskGroup ($taskGroup)
 
 getExecutionTime ()
 
 setDescription ($description)
 
 getDescription ()
 
 setScheduler ()
 
 unsetScheduler ()
 
 setExecution (\TYPO3\CMS\Scheduler\Execution $execution)
 
 getExecution ()
 
 getNextDueExecution ()
 
 areMultipleExecutionsAllowed ()
 
 isExecutionRunning ()
 
 markExecution ()
 
 unmarkExecution ($executionID, \Exception $failure=null)
 
 unmarkAllExecutions ()
 
 save ()
 
 stop ()
 
 remove ()
 
 getType ()
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Scheduler\Task\AbstractTask
const TYPE_SINGLE = 1
 
const TYPE_RECURRING = 2
 
- Protected Attributes inherited from TYPO3\CMS\Scheduler\Task\AbstractTask
 $scheduler
 
 $taskUid
 
 $disabled = false
 
 $execution
 
 $executionTime = 0
 
 $description = ''
 
 $taskGroup
 

Detailed Description

This class provides a wrapper around the autopublication mechanism of workspaces, as a Scheduler task

Definition at line 21 of file AutoPublishTask.php.

Member Function Documentation

◆ execute()

TYPO3\CMS\Version\Task\AutoPublishTask::execute ( )

Method executed from the Scheduler. Call on the workspace logic to publish workspaces whose publication date is in the past

Returns
void

Definition at line 30 of file AutoPublishTask.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().