Files
jarvis-memory/skills/task-queue/SKILL.md

34 lines
583 B
Markdown
Raw Normal View History

2026-02-23 12:13:04 -06:00
# Task Queue Skill
Redis-based task queue for background jobs.
## What It Does
Queues and executes tasks via heartbeat worker.
## Commands
```bash
# Add a task
python3 scripts/add_task.py "Check disk space"
# List tasks
python3 scripts/list_tasks.py
# Execute (runs on heartbeat)
python3 scripts/heartbeat_worker.py
```
## Heartbeat Integration
Add to HEARTBEAT.md:
```bash
python3 /path/to/skills/task-queue/scripts/heartbeat_worker.py
```
## Files
- `add_task.py` - Add task to queue
- `list_tasks.py` - View queue status
- `heartbeat_worker.py` - Execute pending tasks