Use this skill for durable long-running queue jobs with resumable batches.
Layout (task-father only):
///... State files:
queue.jsonlprogress.jsondone.jsonlfailed.jsonllock.jsonpython3 --versionopenclaw statusopenclaw cron --helpSkill-local config:
config.env.exampleconfig.envKeys:
WORKSPACE_DIRTASKS_DIRBATCH_SIZELOCK_STALE_MINUTESCRON_EXPRCRON_TZDELIVERY_MODEAGENT_IDProvide:
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 cp config.env.example config.envconfig.envpython3 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-templateprogress.json after each item.共 1 个版本