Skip to content

Run Probes for a Single Project

Terminal window
php artisan uplinkr:project:run-selected

Run all probes for a selected project defined in settings.json. This allows you to monitor a single project without running probes for all projects.

OptionTypeRequiredDescription
--projectstringYesName of the project to run probes for
--forceflagNoForce execution without confirmation
Terminal window
php artisan uplinkr:project:run-selected --project=my-project
Terminal window
php artisan uplinkr:project:run-selected --project=my-project --force
// In app/Console/Kernel.php or routes/console.php
Schedule::command('uplinkr:project:run-selected --project=critical-service --force')
->everyMinute();
  • Validates the project name
  • Checks if the project exists
  • Returns a warning and skips execution if the project is disabled
  • Runs all configured probes for the specified project
  • Respects probes.execution_mode (direct execution or queued job dispatch)
  • Displays results for each probe execution
  • Stores probe results in the file system
  • Shows warnings if the project has no probes configured
  • Returns success even when the project is missing or disabled, but logs the condition
  • 0 (SUCCESS): Command completed successfully, including cases where the project is missing or disabled
  • 2 (INVALID): Validation failed or process was aborted