networkteam/redirects-healthcheck

它为重定向提供了健康检查命令

0.0.3 2021-10-01 07:33 UTC

This package is auto-updated.

Last update: 2024-08-29 05:40:37 UTC


README

它为重定向提供了健康检查命令。

用法

您可以在命令行或通过计划任务执行它。结果将写入重定向记录。

./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

请确保使用正确的TYPO3_CONTEXT来使用不同的站点变体。只有在重定向损坏的情况下才会发送邮件报告。