π¦ ClawHub
Queue Task
by @moodykong
Durable queue-task helper for resumable, idempotent batch jobs in task-father task folders.
TERMINAL
clawhub install queue-taskπ About This Skill
name: queue-task description: Durable queue-task helper for resumable, idempotent batch jobs in task-father task folders.
queue-task
Use this skill for durable long-running queue jobs with resumable batches.
Layout (task-father only):
///... State files:
queue.jsonlprogress.jsondone.jsonlfailed.jsonllock.jsonPrerequisites
python3 --versionopenclaw statusopenclaw cron --helpConfiguration (portable)
Skill-local config:
config.env.exampleconfig.envKeys:
WORKSPACE_DIRTASKS_DIRBATCH_SIZELOCK_STALE_MINUTESCRON_EXPRCRON_TZDELIVERY_MODEAGENT_IDInitialization / Installation / Onboarding
Preferred (chat-first)
Provide: 1) task slug 2) batch size 3) lock stale minutes 4) schedule and timezone
Then initialize:
python3 scripts/queue_task.py init Smoke test:
python3 scripts/queue_task.py status Optional (terminal)
cp config.env.example config.envconfig.envCommands
python3 scripts/queue_task.py init
python3 scripts/queue_task.py status
python3 scripts/queue_task.py clear-stale-lock
python3 scripts/queue_task.py print-supervisor-templateUsage notes
progress.json after each item.βοΈ Configuration
python3 --versionopenclaw statusopenclaw cron --help