networkteam/redirects-healthcheck

It provides a Health check command for redirects

0.0.1 2021-02-16 12:27 UTC

This package is auto-updated.

Last update: 2021-03-16 13:12:18 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.