360 Secure SkillHub
360 安全技能中心

Cron Optimizer

面向 OpenClaw cron 系统的维护类 Skill,通过 node 脚本清除超过 24 小时的过期 at 任务、近期未运行的禁用任务以及重复的 evolver 循环,以降低 exec 噪声、维护关键看门狗并释放内存中的任务定义。未提供备份或回滚。

autogame-17
autogame-17
热度 20.83
最近更新 2026-05-20 03:35:36
分类:自动化依赖:代码执行应用场景:自动化脚本 / DevOps / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add cron-optimizer
Metadata
name
cron-optimizer
description
Optimizes system cron jobs by removing stale, disabled, or redundant entries to reduce exec noise.

Cron Optimizer

This skill cleans up the OpenClaw cron system by removing:

  • Stale "at" jobs older than 24 hours.
  • Disabled jobs that have not run recently.
  • Redundant or duplicate "Mad Dog" evolver loops.

Usage

node skills/cron-optimizer/index.js

Features

  • Reduces Exec Noise: Cleans up phantom cron jobs that trigger exec usage.
  • System Stability: Ensures critical watchdogs are present.
  • Resource Management: Removes stale job definitions from memory.