Get Scheduled Job Output
get_scheduled_job_outputFetch the output from a scheduled cron job's recent run to confirm it succeeded, not just fired. Provide server and job id; add site for site-level jobs.
Instructions
The output of the most recent run of a scheduled (cron) job — server-level, or site-level if you pass site. Use it to see whether a schedule is actually succeeding rather than just firing. Get the job id from list_scheduled_jobs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | Job id from list_scheduled_jobs. | |
| site | No | Pass this only for a site-level scheduled job; omit for a server-level one. | |
| server | Yes | Server id from list_servers. | |
| tail_lines | No | Return only the last N lines, where failures appear (default 200). Output is additionally capped by character count, so a very long single line cannot flood the response. | |
| organization | No | Organisation slug. Optional when the server has a default configured. |