Skip to content

5-Minute Quickstart

This quickstart walks through daily operational workflows in Setup -> Console and the Aegean Voyages (aegeanvoyages.example) telemetry snippets in site/modules/WireConsole/examples/real-world/.

  1. Check System Readiness on Overview (Setup -> Console):

    Review live counters for Schema Migrations, Background Queues, Database Backups, and Boost & AI Skills, plus the Runtime Stack Versions matrix (PHP, ProcessWire Core, MariaDB/MySQL, Inertia, React Workspace).

  2. Flush Caches or Toggle Maintenance Mode:

    • Use System & WireCache Flush to clear Modules, FileCompiler, and WireCache selectively.
    • Use Maintenance Mode to generate a bypass secret token and pause public traffic cleanly during releases.
  3. Process Pending Queues & Inspect Cron Tasks:

    • Open Queues (./queues/) to inspect pending queue_jobs, run a bounded synchronous batch (Work Batch), or retry failed jobs.
    • Open Scheduling (./scheduling/) to view all registered cron classes in site/schedule/ (including ExpireCharterHoldsTask, AccountPruneTask, etc.) and run due tasks on demand.
  4. Query Telemetry Programmatically via ConsoleRuntime:

    <?php declare(strict_types=1);
    namespace ProcessWire;
    use Totoglu\WireConsole\ConsoleRuntime;
    $runtime = ConsoleRuntime::make($wire);
    $overview = $runtime->getOverviewTelemetry();
    $queues = $runtime->getQueuesSummary();
    $maintenance = $runtime->getMaintenanceStatus();

Next steps