openclaw cron

管理网关调度器的定时任务?

相关链接?

提示:运?openclaw cron --help 查看完整的命令列表?

注意:孤立的 cron add 任务默认使用 --announce 传递方式。使?--no-deliver 将输出保留在内部。--deliver 仍然?--announce 的已弃用别名?

注意:一次性任务(--at)默认在成功后删除。使?--keep-after-run 保留它们?

注意:重复任务现在在连续错误后使用指数退避重试(30s ?1m ?5m ?15m ?60m),下次成功运行后恢复正常调度?

注意:保?清理由配置控制:

  • cron.sessionRetention(默?24h)清理已完成的孤立运行会话?
  • cron.runLog.maxBytes + cron.runLog.keepLines 清理 ~/.openclaw/cron/runs/<jobId>.jsonl?

常用编辑

更新传递设置而不更改消息?

openclaw cron edit <job-id> --announce --channel telegram --to "123456789"

禁用孤立任务的传递:

openclaw cron edit <job-id> --no-deliver

向特定频道发布公告:

openclaw cron edit <job-id> --announce --channel slack --to "channel:C1234567890"