Noctora
Jobs, commands and scheduled tasks
Queued jobs and their attempts, artisan command runs, and scheduled task runs with missed run detection.
Noctora records two things for queued jobs. One is the moment a job is queued, the other is each attempt to run it. A job that fails twice and then succeeds is one queued job and three attempts.
The Jobs page groups jobs by class and shows how many were queued, processed, released and failed, the total number of attempts, and the average and p95 duration of an attempt. A job’s page charts its attempts and lists each one with its queue, outcome, duration, server and what queued it.
Open an attempt to see its trace, which lists every query, cache call, log and other Record that happened while it ran. “Queued by” links back to the request, command or job that queued it.
An attempt that throws an exception records the exception too, which can open an Issue.
Commands
Section titled “Commands”Every artisan command run is a Record with its exit code, duration and server. The Commands page groups runs by command, with how many succeeded and failed, the total, and the average and p95 duration. A command’s page lists its runs, and each run opens to its trace.
Scheduled tasks
Section titled “Scheduled tasks”Every run of a task in your app’s schedule is a Record. The Scheduled Tasks page lists each task with its schedule, when it is next due, how many runs were processed, skipped and failed, and the average and p95 duration.
A task’s page shows its options, such as without overlapping, on one server, in the background and even in maintenance mode. It lists its runs, and each run opens to its trace.
Missed runs
Section titled “Missed runs”Noctora learns each task’s schedule from its runs. If a task is due and no run arrives within 5 minutes, that is a Missed run, and it opens an Issue. A run that arrives on schedule later resolves it. A task Noctora hasn’t seen for 7 days is no longer watched.
Slow runs
Section titled “Slow runs”Set a Threshold for job attempts, commands or scheduled tasks, or for one of them, and runs slower than it are Slow runs that can open an Issue.