Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

cronjob.ini [linkCheckSettings]

The settings of [linkCheckSettings] in cronjob.ini: SiteURL, Timeout, ConnectTimeout, MaxRedirects, HostDelay, RecheckInterval, MaxURLsPerRun, MaxRunTime ...

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/cronjob/linkCheckSettings.md

On this page

cronjob.ini [linkCheckSettings]

The block [linkCheckSettings] of settings/cronjob.ini, with 10 setting(s).

Never edit settings/cronjob.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/cronjob.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/cronjob.ini.append.php for one siteaccess,
  • extension/<extension>/settings/cronjob.ini.append.php in an extension (read when the extension is active).

SiteURL

The link check (linkcheck.php, part infrequent) tests the links of published content.
Guide: doc/eng-us/guides/urls-and-aliases.md

Specify full path of all site URL; a path that is not a URL alias or module
view is tried on these addresses.
Example:
SiteURL[]=http://exponential.earth/admin
SiteURL[]=http://exponential.earth/news

Default: a list of 1: ``.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
# an empty "SiteURL[]" first replaces the shipped list; without it the items are added
SiteURL[]
SiteURL[]=
*/ ?>

Timeout

Seconds a request may take, and seconds to connect

Default: 15.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
Timeout=15
*/ ?>

ConnectTimeout

Default: 5.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
ConnectTimeout=5
*/ ?>

MaxRedirects

Redirects followed before a link counts as broken

Default: 5.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
MaxRedirects=5
*/ ?>

HostDelay

Milliseconds between two requests to the same host

Default: 1000.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
HostDelay=1000
*/ ?>

RecheckInterval

Seconds before a checked link is checked again; 0 checks every link on every run

Default: 72000.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
RecheckInterval=72000
*/ ?>

MaxURLsPerRun

Links checked in one run, the ones checked longest ago first; 0 checks all

Default: 0.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
MaxURLsPerRun=0
*/ ?>

MaxRunTime

Seconds a run may spend checking links; the links left are the ones checked
most recently, and the next run starts with them. 0 checks until all are done.
Most of a long run is HostDelay between links to the same host.

Default: 900.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
MaxRunTime=900
*/ ?>

UserAgent

The User-Agent header of the requests

Default: Exponential Link Validator (+https://exponential.earth).

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
UserAgent=Exponential Link Validator (+https://exponential.earth)
*/ ?>

AllowedPrivateHosts

Addresses on a private, loopback or link-local network are never requested,
so content cannot make the server reach inside its own network. List the
hosts, addresses or IPv4 ranges that may be tested anyway.
Example:
AllowedPrivateHosts[]=intranet.example.local
AllowedPrivateHosts[]=10.1.0.0/16

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[linkCheckSettings]
# an empty "AllowedPrivateHosts[]" first replaces the shipped list; without it the items are added
AllowedPrivateHosts[]
*/ ?>

Generated by ./console exp:help:examples from settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x