Run All Probes Across Projects
Command
Section titled “Command”php artisan uplinkr:project:run-probesDescription
Section titled “Description”Runs all probes for all projects defined in settings.json. This is the main command for executing monitoring checks across the entire Uplinkr installation.
Options
Section titled “Options”| Option | Type | Required | Description |
|---|---|---|---|
--force | flag | No | Force execution without confirmation |
Usage Examples
Section titled “Usage Examples”Run all probes
Section titled “Run all probes”php artisan uplinkr:project:run-probesForce mode (skip confirmation)
Section titled “Force mode (skip confirmation)”php artisan uplinkr:project:run-probes --forceSchedule in Laravel
Section titled “Schedule in Laravel”// In app/Console/Kernel.php or routes/console.phpSchedule::command('uplinkr:project:run-probes --force') ->everyFiveMinutes();Behavior
Section titled “Behavior”- Iterates through all projects in the storage directory
- Skips disabled projects automatically
- Runs all configured probes for each active project
- Respects
probes.execution_mode(directexecution or queuedjobdispatch) - Displays results for each probe execution
- Stores probe results in the file system
- Shows warnings for projects without probes
- Logs errors for projects that fail to load
Return Codes
Section titled “Return Codes”0(SUCCESS): All probes executed successfully (individual probe failures are logged but don’t affect the return code)2(INVALID): Process was aborted by user confirmation