Run Probes for a Single Project
Command
Section titled “Command”php artisan uplinkr:project:run-selectedDescription
Section titled “Description”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.
Options
Section titled “Options”| Option | Type | Required | Description |
|---|---|---|---|
--project | string | Yes | Name of the project to run probes for |
--force | flag | No | Force execution without confirmation |
Usage Examples
Section titled “Usage Examples”Run probes for a specific project
Section titled “Run probes for a specific project”php artisan uplinkr:project:run-selected --project=my-projectForce mode (skip confirmation)
Section titled “Force mode (skip confirmation)”php artisan uplinkr:project:run-selected --project=my-project --forceSchedule specific project monitoring
Section titled “Schedule specific project monitoring”// In app/Console/Kernel.php or routes/console.phpSchedule::command('uplinkr:project:run-selected --project=critical-service --force') ->everyMinute();Behavior
Section titled “Behavior”- 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(directexecution or queuedjobdispatch) - 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
Return Codes
Section titled “Return Codes”0(SUCCESS): Command completed successfully, including cases where the project is missing or disabled2(INVALID): Validation failed or process was aborted