The linkcheck.php cronjob
Check all internal and external links in published content for broken URLs.
Entry point cronjobs/linkcheck.php, code in kernel/private/classes/cronjobs/linkcheck.php.
The code of cronjobs/linkcheck.php, moved into a class (#207 stage 1). The file cronjobs/linkcheck.php is one call to it.
Guide: doc/eng-us/bc/6.0/cli_cronjob_view_abstractions.md
User guide of the link check: doc/eng-us/guides/urls-and-aliases.md (section "How links are checked")
When it runs
In the shipped settings/cronjob.ini it belongs to: the part infrequent.
# run its part (as the user the web server runs as, from the installation root)
php runcronjobs.php infrequent
./console exp:runcronjobs infrequent
# run only this script
php runcronjobs.php linkcheckAdd it to a part in an override:
# settings/override/cronjob.ini.append.php
[CronjobPart-infrequent]
Scripts[]=linkcheck.php
*/ ?>Related
Generated by ./console exp:help:examples from cronjobs/linkcheck.php, kernel/private/classes/cronjobs/linkcheck.php, settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.