Chapter 9. Page Experience: Real-User Monitoring

Running It on a Schedule Pro

Measurements are added to the daily totals, old ones deleted, and regressions checked by a background job.

Joomla

Turn on the JCH Optimize - Page Experience scheduled task, which runs the job every hour. It is created disabled. Go to System → Manage → Scheduled Tasks, open the task, set Status to Enabled and save. (If you deleted it, click New and choose JCH Optimize - Page Experience.) Joomla's scheduler runs tasks when your site has visitors, unless you set it up to run from your server's CRON.

Or run the jchoptimize:page-experience command from your server's CRON, for example every hour:

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

Nothing to do. While Page Experience is on, WordPress runs the job every hour with WP-Cron.

Without a scheduled job, the work is done anyway when reports have been waiting for more than an hour, just after a visitor's report arrives, so a site with steady traffic keeps itself up to date. On a quiet site, alerts may be sent later than they would with a schedule.