drain
Fire all scheduled content posts due at or before a specified time, skipping already-published pairs. Use on a recurring schedule to flush the publishing queue.
Instructions
Fire all scheduled posts due at or before the given time boundary. Side effects: makes external HTTP requests for each due entry; writes results to the YAML backend. Idempotent — already-published (content.id, channel) pairs are skipped; no-op when no entries are due. Safe to call from cron. Use drain on a recurring schedule to flush the queue; use publish or schedule to add new content; use status to inspect results after drain runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | ISO-8601 datetime boundary, e.g. '2026-05-21T09:00:00Z'; defaults to current UTC time when omitted. |