excalibur_process_scheduled_posts
Launch a publisher for every due post (operator-only).
Selects scheduled posts whose publish_at has arrived, claims each
atomically, and starts one background publisher per post. It does NOT
publish: composing content, billing the owner, posting to X and recording the
outcome all belong to the publisher, which runs on the async job queue and so
may take the minutes a dynamic block needs. This call returns as soon as the
work is dispatched — expect it to be fast even when the publishing itself is
slow, and read per-post outcomes from get_scheduler_log or the post rows.
Requires the operator's npub proof; the trigger itself is free. Returns
{kind: "tick", processed, launched, contended}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | The OPERATOR's npub (npub1...); this tool is operator-only. | |
| dpop_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||