Command-Line Reference

Name

jchoptimize:page-experience — Process Page Experience measurements and check for regressions Joomla Pro

Synopsis

php cli/joomla.php jchoptimize:page-experience [--time-limit=seconds] [ --notify | --no-notify ] [--live-site=URL]

Description

Adds the measurements sent by visitors' browsers to the daily totals, deletes measurements older than the retention period, compares the last seven days with your baseline, and emails you when a regression is found or recovers. Run it every hour, or turn on the JCH Optimize - Page Experience scheduled task, which does the same from Joomla's scheduler. Without either, the same work is done when visitors send new measurements, but alerts may arrive later. See Chapter 9, Page Experience: Real-User Monitoring.

Options

--time-limit, -t

The most seconds this run spends processing measurements. The default is 60.

--notify, --no-notify

Email, or don't, about regressions in this run. The default follows the Email regressions setting.

Example

0 * * * * /usr/bin/php /path/to/site/cli/joomla.php jchoptimize:page-experience --live-site=https://www.example.com/ --quiet