exp:preloadjob
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The script bin/php/preloadjob.php.
Usage
./console exp:preloadjob [options] php bin/php/preloadjob.php [options]
Help
The output of ./console help exp:preloadjob (the script run with --help), without the standard options:
Usage: bin/php/preloadjob.php [OPTION]... Runs one preload for Setup > Preload and writes its events and status. Options: --id=VALUE the job id (hex), chosen by setup/preloadjob --target=VALUE the siteaccess whose site is preloaded (default: DefaultAccess) --max-pages=VALUE most pages to fetch (default 250) --max-depth=VALUE most links to follow from a starting page (default 3) --images also request the images the warmed pages show, and report the missing ones
Options
| Option | Value | Description |
|---|---|---|
| --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 |
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/preloadjob.php, kernel/private/classes/commands/preloadjob.php
See also
Generated example: exp:preloadjob
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment