Guidevera

Setting Up Cron Jobs

Two CLI commands should be scheduled as cron jobs for full Guidevera functionality. Both commands are run from the installation root using the CakePHP console.

Publish Scheduler

The publish scheduler automatically activates pages whose Publish at date has passed, and deactivates pages whose Expire at date has passed. It should run every 5 minutes.

*/5 * * * * cd /path/to/guidevera && bin/cake publish-scheduler

Quality Check

The quality check command analyses all pages for content issues: missing descriptions, stale content (not updated in 12+ months), empty pages, and orphaned media files. Results are stored in the cache and displayed on the Dashboard. It also automatically purges trash items that have exceeded the configured retention period (trashRetentionDays). Run it nightly.

0 2 * * * cd /path/to/guidevera && bin/cake quality-check

Running commands manually

Both commands can be run manually at any time from the command line:

bin/cake publish-scheduler
bin/cake quality-check

Required for these features

  • publish-scheduler — required for Scheduled Publishing
  • quality-check — required for stale content detection, dashboard quality metrics, and automatic trash purge
Keyboard Shortcuts & Dark Mode Troubleshooting
cron cron-jobs publish-scheduler quality-check scheduled-publishing