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 --helpHelp text
Runs one preload for Setup > Preload and writes its events and status.Options
| Option | Value | Help |
|---|---|---|
--id | required | the job id (hex), chosen by setup/preloadjob |
--target | required | the siteaccess whose site is preloaded (default: DefaultAccess) |
--max-pages | required | most pages to fetch (default 250) |
--max-depth | required | most links to follow from a starting page (default 3) |
--images | also 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 ...).
Related
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.