360 Secure SkillHub
360 安全技能中心

Cron

面向重复提醒与周期性任务的本地排程 Skill,通过 Python 脚本将自然语言时间表达捕获为 daily/weekly/monthly/interval 计划,写入本地 JSON 文件,并支持查看下一次执行、暂停、恢复、归档与逐项检视;不做外部同步。

projectsnowwork
projectsnowwork
热度 99.45
最近更新 2026-05-11 17:30:52
分类:自动化依赖:代码执行 / 读写文件应用场景:日程安排 / 任务管理 / 工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cron
Metadata
name
cron
description
Local-first recurring schedule engine for reminders, repeated tasks, and time-based execution plans. Use whenever the user mentions recurring timing, repetition, schedules, cadence, weekly/daily/monthly routines, future triggers, or wants to know what runs next. Captures natural language timing into structured local schedules, supports pause/resume, and surfaces upcoming executions. No external sync.

Cron

Turn recurring intentions into structured local schedules.

Core Philosophy

  1. Repetition should be captured once, then trusted.
  2. A schedule is not just a reminder — it is an execution contract over time.
  3. The system should make recurrence visible, editable, and pausable.
  4. Users should always know what runs next.

Runtime Requirements

  • Python 3 must be available as python3
  • No external packages required

Storage

All data is stored locally only under:

  • ~/.openclaw/workspace/memory/cron/jobs.json
  • ~/.openclaw/workspace/memory/cron/runs.json
  • ~/.openclaw/workspace/memory/cron/stats.json

No external sync. No cloud storage. No third-party cron service.

Job Status

  • active: schedule is live
  • paused: temporarily disabled
  • archived: no longer active, kept for history

Schedule Types

  • daily
  • weekly
  • monthly
  • interval

Key Workflows

  • Capture recurring job: add_job.py
  • See what runs next: next_run.py
  • Pause or resume: pause_job.py, resume_job.py
  • Inspect one job: show_job.py
  • Review all jobs: list_jobs.py