job_status
Check the state, progress, elapsed time, and final result of an asynchronous PixInsight job while it runs, by job ID or the current job.
Instructions
Report on a job started by run_pjsr or run_pjsr_file with async: its state (queued, running, ending = stopped in PixInsight with its result not yet collected, done, failed, cancelled, stopped), elapsed time, seconds since the running script last called processEvents(), its latest mcpProgress() text, and, once it has ended, its result or error and PixInsight console errors. Without job_id: the running job, else the most recent one. Read-only; it does not use PixInsight, so it answers while a job runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The id run_pjsr returned. Omit for the running or most recent job. |