‪TYPO3CMS  ‪main
TYPO3\CMS\Reports\Task\SystemStatusUpdateTask Class Reference
Inheritance diagram for TYPO3\CMS\Reports\Task\SystemStatusUpdateTask:
TYPO3\CMS\Scheduler\Task\AbstractTask

Public Member Functions

 execute ()
 
string getNotificationEmail ()
 
 setNotificationEmail ($notificationEmail)
 
 getNotificationAll ()
 
 setNotificationAll (bool $notificationAll)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
 __construct ()
 
string getAdditionalInformation ()
 
 setTaskUid ($id)
 
int getTaskUid ()
 
string getTaskTitle ()
 
string getTaskDescription ()
 
string getTaskClassName ()
 
bool isDisabled ()
 
 setDisabled ($flag)
 
 setRunOnNextCronJob ($flag)
 
bool getRunOnNextCronJob ()
 
 setExecutionTime ($timestamp)
 
int null getTaskGroup ()
 
 setTaskGroup ($taskGroup)
 
int getExecutionTime ()
 
 setDescription ($description)
 
string getDescription ()
 
 setScheduler ()
 
 unsetScheduler ()
 
 registerSingleExecution ($timestamp)
 
 registerRecurringExecution ($start, $interval, $end=0, $multiple=false, $cron_cmd='')
 
 setExecution (Execution $execution)
 
Execution object null getExecution ()
 
int getNextDueExecution ()
 
bool areMultipleExecutionsAllowed ()
 
bool save ()
 
 stop ()
 
int getType ()
 

Protected Member Functions

 sendNotificationEmail (array $systemStatus)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
 logException (\Exception $e)
 
 getLanguageService ()
 

Protected Attributes

string $notificationEmail
 
bool $notificationAll = false
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
TYPO3 CMS Scheduler Scheduler null $scheduler
 
int $taskUid = 0
 
bool $disabled = false
 
bool $runOnNextCronJob = false
 
Execution $execution
 
int $executionTime = 0
 
string $description = ''
 
int null $taskGroup = 0
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
const TYPE_SINGLE = 1
 
const TYPE_RECURRING = 2
 

Detailed Description

A task that should be run regularly to determine the system's status.

This class is a specific scheduler task implementation and is not considered part of the Public TYPO3 API.

Definition at line 33 of file SystemStatusUpdateTask.php.

Member Function Documentation

◆ execute()

TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::execute ( )

Executes the System Status Update task, determining the highest severity of status reports and saving that to the registry to be displayed at login if necessary.

See also
‪\TYPO3\CMS\Scheduler\Task\AbstractTask::execute()

Reimplemented from TYPO3\CMS\Scheduler\Task\AbstractTask.

Definition at line 55 of file SystemStatusUpdateTask.php.

References TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\getNotificationAll(), and TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\sendNotificationEmail().

◆ getNotificationAll()

◆ getNotificationEmail()

string TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::getNotificationEmail ( )

Gets the notification email addresses.

Returns
‪string Notification email addresses.

Definition at line 73 of file SystemStatusUpdateTask.php.

References TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\$notificationEmail.

◆ sendNotificationEmail()

TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::sendNotificationEmail ( array  $systemStatus)
protected

◆ setNotificationAll()

TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::setNotificationAll ( bool  $notificationAll)

◆ setNotificationEmail()

TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::setNotificationEmail (   $notificationEmail)

Sets the notification email address.

Parameters
string$notificationEmail‪Notification email address.

Definition at line 83 of file SystemStatusUpdateTask.php.

References TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\$notificationEmail.

Member Data Documentation

◆ $notificationAll

bool TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::$notificationAll = false
protected

Checkbox for to send all types of notification, not only problems

Definition at line 46 of file SystemStatusUpdateTask.php.

Referenced by TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\getNotificationAll(), and TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\setNotificationAll().

◆ $notificationEmail

string TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::$notificationEmail
protected