Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

cron-setup计划任务设置

Agent Skill

cron-setup 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

22,203

周安装

944

GitHub Stars

公开资料未说明

下载量

7,779
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cron-setup(计划任务设置)
来源仓库:https://github.com/brennerspear/cron-setup
安装命令:
openclaw skills install cron-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cron-setup

简介

遵循我们的约定创建和管理 OpenClaw cron 作业。在设置定期任务、提醒、自动检查或任何计划工作时使用。

SKILL.md

name
cron-setup
version
1.0.0
description
Create and manage OpenClaw cron jobs following our conventions. Use when setting up periodic tasks, reminders, automated checks, or any scheduled work.

Cron Job Setup

Our conventions for creating cron jobs in OpenClaw.

Default Settings

SettingDefaultWhy
Modelanthropic/claude-sonnet-4-5Reliable tool calls, works with any Anthropic Max plan — no OpenRouter needed
SessionisolatedCron jobs run in their own session, not the main chat
Delivery"mode": "none"Job handles its own output (posts to Discord, etc.)
Timeout120-180sMost jobs should finish fast

Model Notes

  • Default to Sonnet (anthropic/claude-sonnet-4-5). Reliable, portable (no OpenRouter API key needed).
  • DeepSeek is unreliable for tool calls — don't use it for cron jobs.
  • Use Opus (anthropic/claude-opus-4-6) only as a last resort — expensive for scheduled tasks.
  • Model ID format: Use anthropic/claude-sonnet-4-5 not the full dated version (anthropic/claude-sonnet-4-20250514).

Job Template

{
  "name": "descriptive-kebab-case-name",
  "schedule": {
    "kind": "cron",
    "expr": "*/30 * * * *",
    "tz": "America/New_York"
  },
  "sessionTarget": "isolated",
  "payload": {
    "kind": "agentTurn",
    "message": "TASK INSTRUCTIONS HERE",
    "model": "openrouter/deepseek/deepseek-v3.2",
    "timeoutSeconds": 120
  },
  "delivery": {
    "mode": "none"
  }
}

Schedule Patterns

PatternCron ExpressionNotes
Every 30 min*/30 * * * *Good for inbox checks, monitoring
Every hour0 * * * *Self-reflection, status checks
Daily at 4 AM0 4 * * *Cleanup, backups (during quiet hours)
Daily at 6 AM0 6 * * *Morning digests, daily summaries
Weekly Monday 2 PM0 14 * * 1Weekly outreach, reviews
One-shotUse "kind": "at" insteadReminders, one-time tasks

Task Instruction Conventions

  1. Be explicit with commands — Give the cron agent exact bash commands to run. It doesn't have our context.
  2. Include skip conditions — If there's nothing to do, the agent should reply SKIP to avoid wasting tokens.
  3. Handle its own output — The job should post results to Telegram (or wherever) using the message tool directly. Don't rely on delivery mode for formatted output.
  4. Include error handling — What should happen if a command fails?
  5. Keep instructions self-contained — The cron agent wakes up with no context. Everything it needs should be in the task message.

Telegram Posting from Cron Jobs

When a cron job needs to notify us, include these instructions in the task:

Post to Telegram using the message tool:
- action: send
- channel: telegram
- target: -1003856094222
- threadId: TOPIC_ID
- message: Your formatted message

Topic IDs:

  • 1 — Main topic (general updates, alerts)
  • 573 — Research
  • 1032 — Crypto
  • 1488 — PR updates / dev notifications
  • 1869 — Sticker store
  • 3188 — Activity feed (workspace changes)

Delivery Modes

ModeWhen to Use
"mode": "none"Job posts its own output to Telegram (most common)
"mode": "announce"OpenClaw auto-delivers the agent's final message to a channel. Use when output IS the message (e.g., daily digest). Set "channel": "telegram" and "to": "-1003856094222:TOPIC_ID"

Anti-Patterns

Don't use Opus for cron jobs unless the task genuinely needs it. Most cron tasks are simple checks. ❌ Don't use heartbeat for things that can be a cron job. Heartbeat runs in the main session (Opus) and costs way more. ❌ Don't create cron jobs that loop/poll — each run should be a single check. If you need polling, use a background exec script instead. ❌ Don't set delivery mode to "announce" and also have the job post to Telegram — you'll get duplicate messages.

Existing Jobs (Reference)

Check current jobs anytime with the cron list tool. As of setup:

  • workspace-activity-feed — Every 30 min, commits workspace changes, posts to activity feed
  • agentmail-inbox-check — Every 30 min, checks for new emails, responds to agents
  • sub-agent-monitor — Every 15 min, checks on stalled sub-agents
  • self-reflection — Hourly, reviews recent sessions for lessons learned
  • daily-workspace-commit — Daily 4 AM, git commits workspace changes
  • system-watchdog — Daily 4 AM, checks system resources
  • OpenClaw Daily News Digest — Daily 6 AM, generates news digest
  • sticker-sales-loop — Weekly Monday 2 PM, agent outreach for sticker store

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.93%
按下载量换算7,229

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills