Cron Jobs Monitoring
Track the execution of scheduled tasks that run in the background (e.g., subscription renewal, email dispatch).
Note: Cron jobs are crucial for automating system
processes. Ensure your server's scheduler is running.
1. Job Status
The table lists recent executions of scheduled commands:
- Command: The Artisan command executed (e.g., `schedule:run`).
- Start Time: When the job began.
- End Time: When it completed.
- Duration: Time taken to execute.
- Status: Success or Failed.
[Screenshot: Cron Monitoring Table]
2. Manual Execution
You can force-run specific commands for testing or immediate needs:
- Identify the command you wish to run.
- Click the button next to it.
- Wait for the output log to appear.
Caution: Running jobs manually may duplicate
actions (e.g., sending emails twice) if not handled carefully.
3. Viewing Logs
Click the icon to view the detailed output log of any specific execution. This is helpful for debugging failures.