queue add
Add a single website to the queue.Syntax
Arguments
Options
Examples
Output
Duplicate Handling
Duplicates are detected by(project_name, website_url) combination and automatically skipped.
queue bulk
Bulk add URLs from CSV or JSON file.Syntax
Arguments
Options
CSV Format
Requires aurl column. Optional: custom_instruction, priority.
JSON Format
Array of objects withurl field. Optional: custom_instruction, priority.
Examples
Output
queue list
List queue items with filtering.Syntax
Options
Examples
Output
queue next
Atomically claim the next pending item.Syntax
Options
Behavior
Atomically claims the highest priority pending item and locks it for processing. PostgreSQL usesFOR UPDATE SKIP LOCKED (race-safe). SQLite uses conditional UPDATE.
Example
Output
Item Claimed
Empty Queue
queue complete
Mark an item as successfully completed.Syntax
Arguments
Example
Output
queue fail
Mark an item as failed with error message.Syntax
Arguments
Options
Example
Output
queue retry
Reset a failed item to pending status.Syntax
Arguments
Example
Output
Retry count is tracked but not enforced. You can retry items indefinitely.
queue remove
Remove an item from the queue.Syntax
Arguments
Example
Output
queue cleanup
Bulk remove completed or failed items.Syntax
Options
Examples
Output
Status Values
pending: Waiting to be processedprocessing: Currently being worked on (locked)completed: Successfully processedfailed: Processing failed with error
Parallel Processing
Process queue items with multiple workers:Next Steps
Crawl Commands
Process queue items with crawl commands
Database
Query and manage queue data