networkteam/redirects-healthcheck

It provides a Health check command for redirects

Installs: 7 936

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 0

Type:typo3-cms-extension

0.0.3 2021-10-01 07:33 UTC

This package is auto-updated.

Last update: 2024-03-29 04:06:07 UTC


README

It provides a Health check command for redirects.

Usage

You can execute it on cli or via scheduler. The result is written to the redirect records.

./typo3/sysext/core/bin/typo3 -h redirects:checkhealth

Description:
  Check health of redirects

Usage:
  redirects:checkhealth [options]

Options:
  -m, --mailaddress=MAILADDRESS        Recipient address for mail report
  -d, --disable                        Disable broken redirects

  -h, --help                           Display this help message
  -q, --quiet                          Do not output any message
  -V, --version                        Display this application version
      --ansi                           Force ANSI output
      --no-ansi                        Disable ANSI output
  -n, --no-interaction                 Do not ask any interactive question
  -v|vv|vvv, --verbose                 Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Make sure to use the correct TYPO3_CONTEXT in order to use a different site variant. A mail report is only send in case of broken redirects.