Cron
Turn recurring intentions into structured local schedules.
Core Philosophy
- 1. Repetition should be captured once, then trusted.
- A schedule is not just a reminder — it is an execution contract over time.
- The system should make recurrence visible, editable, and pausable.
- Users should always know what runs next.
Runtime Requirements
- - Python 3 must be available as INLINECODE0
- No external packages required
Storage
All data is stored locally only under:
- - INLINECODE1
- INLINECODE2
- INLINECODE3
No external sync. No cloud storage. No third-party cron service.
Job Status
- -
active: schedule is live - INLINECODE5 : temporarily disabled
- INLINECODE6 : no longer active, kept for history
Schedule Types
- - INLINECODE7
- INLINECODE8
- INLINECODE9
- INLINECODE10
Key Workflows
- - Capture recurring job: INLINECODE11
- See what runs next: INLINECODE12
- Pause or resume:
pause_job.py, INLINECODE14 - Inspect one job: INLINECODE15
- Review all jobs: INLINECODE16
Cron
将重复性意图转化为结构化的本地日程。
核心理念
- 1. 重复性任务应被一次性记录,然后予以信任。
- 日程不仅是提醒——它是一份跨越时间的执行契约。
- 系统应使重复性可见、可编辑、可暂停。
- 用户应始终知晓下一步将执行什么。
运行时要求
- - 必须提供 python3 作为 Python 3 环境
- 无需外部包
存储
所有数据仅本地存储于:
- - ~/.openclaw/workspace/memory/cron/jobs.json
- ~/.openclaw/workspace/memory/cron/runs.json
- ~/.openclaw/workspace/memory/cron/stats.json
无外部同步。无云存储。无第三方 cron 服务。
任务状态
- - active:日程处于活动状态
- paused:暂时禁用
- archived:不再活动,保留历史记录
日程类型
- - daily(每日)
- weekly(每周)
- monthly(每月)
- interval(间隔)
关键工作流
- - 捕获重复任务:addjob.py
- 查看下一步执行:nextrun.py
- 暂停或恢复:pausejob.py、resumejob.py
- 查看单个任务:showjob.py
- 审查所有任务:listjobs.py