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

exp:preloadjob

The command exp:preloadjob (bin/php/preloadjob.php).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/preloadjob.md

On this page

exp:preloadjob

Script bin/php/preloadjob.php, code in kernel/private/classes/commands/preloadjob.php. Run it from the installation root, as the user the web server runs as:

./console exp:preloadjob --help
php bin/php/preloadjob.php --help

Help text

Runs one preload for Setup > Preload and writes its events and status.

Options

OptionValueHelp
--idrequiredthe job id (hex), chosen by setup/preloadjob
--targetrequiredthe siteaccess whose site is preloaded (default: DefaultAccess)
--max-pagesrequiredmost pages to fetch (default 250)
--max-depthrequiredmost links to follow from a starting page (default 3)
--imagesalso request the images the warmed pages show, and report the missing ones

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/preloadjob.php, kernel/private/classes/commands/preloadjob.php. 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