A scheduled background script execution extension that runs bash commands directly via an OpenClaw gateway hook with hot-reloading and zero LLM cost.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install cron-scripts
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install cron-scripts using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The cron-scripts extension is a highly efficient utility designed to schedule and execute standard shell scripts without involving expensive language models. In the ecosystem of Openclaw Skills, this tool serves as a high-performance workaround to execute background processes such as system cleanups, local notifications, or Git updates. It leverages the underlying Gateway architecture to load custom scripts on startup, making it perfect for tasks that do not require cognitive reasoning.
By avoiding unnecessary LLM agent turns, cron-scripts ensures zero API usage costs while maintaining a unified directory of script automation. With integrated features like automated hot-reloads within milliseconds, this system guarantees that you can quickly deploy system checks and automation steps directly inside your environment without downtime.
~/.openclaw/cron-scripts/)..sh file to parse execution schedules, names, timezone configurations, and timeout limits.croner library, the hook registers task timers inside memory, ensuring that tasks are protected from executing concurrently if a previous run is active.Create the target folder inside your local OpenClaw structure and copy the loader handler code into place:
mkdir -p ~/.openclaw/hooks/cron-scripts-loader
cp hooks/cron-scripts-loader/handler.ts ~/.openclaw/hooks/cron-scripts-loader/handler.ts
Restart the gateway to enable hook registration:
openclaw gateway restart
Set up the workspace where your scripts will be housed:
mkdir -p ~/.openclaw/cron-scripts
Write a basic bash script with the required metadata in the script's header. Save it inside your custom cron script directory:
#!/usr/bin/env bash
# name: ping-health
# schedule: */5 * * * *
# tz: UTC
# timeout: 60
curl -sf https://hc-ping.com/your-uuid-here || echo "Ping failed!"
Grant execution privileges to the script so the runner can trigger it:
chmod +x ~/.openclaw/cron-scripts/ping-health.sh
Every cron script must configure its metadata directly inside the header using a frontmatter format within the first 20 lines of the file:
| Attribute | Expected Type | Required | Description | Fallback Default |
|---|---|---|---|---|
name |
String | Yes | Label for identifying the task execution in your log files | N/A |
schedule |
String | Yes | A classic 5-field cron configuration expression | N/A |
tz |
String | No | Valid IANA timezone database designation | UTC |
timeout |
Number | No | Hard timeout limit in seconds before SIGTERM termination | 120 |
Process details are mapped directly into the system gateway outputs. Each operation maps cleanly into standard telemetry logs:
[cron-scripts-loader][<name>] Starting run[cron-scripts-loader][<name>] <line-output>[cron-scripts-loader][<name>] Finished ok (exit 0).disabled), or delete tasks dynamically within ~300ms.http://localhost:3000/api/announce) to prompt instant multi-channel push announcements.protect: true) ensuring overlaps are gracefully avoided during intensive long-running shell scripts.croner library already bundled in the host system node_modules, removing the need for external installation requirements.Loading
An AI-powered system to turn Arabic notes, vocabulary, and grammar points into study-ready flashcards and interactive quizzes.

An automated malicious file and directory scanner powered by Alibaba Cloud Security Center (SAS) SDK APIs.

A life wisdom and death acceptance toolkit integrating Morrie Schwartz's 14 Tuesday lessons on love, work, family, aging, and dignity into conversational environments.

A dual-language content analysis skill designed to detect AI-generated writing patterns and restore human warmth to your text.

An interactive environmental science and ecological activism toolkit designed to educate users on pesticide bioaccumulation, chemical resistance, and natural pest control methods.

A zero-configuration football database query tool that retrieves real-time standings, match fixtures, player stats, and historical head-to-head analytics.








































