---
title: "Deprecation: #84387 - Deprecated method and property in SchedulerModuleController"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-84387"
source: "Changelog/9.4/Deprecation-84387-DeprecatedMethodAndPropertyInSchedulerModuleController.rst"
typo3-version: "9.4"
typo3-major: 9
type: "deprecation"
issue: 84387
forge: "https://forge.typo3.org/issues/84387"
tags: ["Backend", "PHP-API", "FullyScanned"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #84387 - Deprecated method and property in SchedulerModuleController {#deprecation-84387}

See [forge#84387](https://forge.typo3.org/issues/84387)

## Description {#description}

The property `$CMD` and the method `addMessage()` in the `SchedulerModuleController`
have been marked as deprecated and will be removed in TYPO3 v10.

## Impact {#impact}

Accessing the property or calling the method will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

Third party code which accesses the property directly or calls the method.

## Migration {#migration}

Instead of accessing the property `SchedulerModuleController::$CMD`, the method `getCurrentAction()`
must be used which returns an instance of the `\TYPO3\CMS\Scheduler\Task\Enumeration\Action` enumeration.

Instead of calling the method `SchedulerModuleController::addMessage()`, in your additional field providers
you can now extend `\TYPO3\CMS\Scheduler\AbstractAdditionalFieldProvider` which provides a method `addMessage()`
with the same API like before.
