Issue Feature Closed

#110615Disable the link validator in certain contexts, or run it only in certain contexts

Thorsten Born 09/03/26, 15:22 updated 10/11/26, 20:08

Description

This is probably the case for many agencies: cron jobs/planner tasks also run on staging instances, with the result that a lot of emails are sent out.

However, disabling the cron job would require a change in the backend or the database, meaning that the setting would be overwritten again during a database synchronisation from the live environment.

It would be better if, for example, you could specify in `additional.php` that the job should not be executed; or better still – as this would then also be visible in the backend – define the permitted or prohibited `TYPO3_CONTEXT`s in the Planner Task.

Greetings
Thorsten

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2026-10-11T20:08:44+00:00" > 10/11/26, 20:08 </span>

    Hey,

    thanks for creating this issue. I totally understand the issue but I don’t see this in linkhandler itself.
    I propose one of the following solutions:

    • After sync, disable the task with a oneliner DB update script
    • Use e.g. additional.php or env and define e.g. a mailhog/mailpit or mbox in mail configuration and no emails are leaving the system.

    feel free to discuss this on slack if you don’t agree