Cron Job Setup for Openclaw

A professional framework for creating and managing reliable, scheduled AI tasks and periodic workflows within OpenClaw.

brennerspear
v1.0.0
Feb 26, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cron-setup

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cron-setup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Cron Job Setup?

The Cron Job Setup skill provides a standardized methodology for implementing automated, recurring tasks using Openclaw Skills. It allows developers to define complex schedules using cron expressions, ensuring that AI agents can perform background operations like system monitoring, data aggregation, and status reporting without manual triggers.

By emphasizing isolated sessions and specific model selections like Claude Sonnet 4.5, this skill ensures high reliability for tool calls while maintaining cost-efficiency. It is designed to handle everything from simple 30-minute inbox checks to comprehensive daily workspace summaries, providing a robust backbone for autonomous agent operations.

Cron Job Setup Use Cases

  • Automating workspace activity feeds and daily git commits for version control.
  • Setting up periodic agentmail inbox checks and automated email responses.
  • Monitoring sub-agent health and system resources to prevent stalling.
  • Generating daily news digests or weekly marketing outreach summaries.
  • Implementing self-reflection loops for AI agents to review and learn from past sessions.

How Cron Job Setup Works

  1. Identify a recurring task and determine its frequency using standard cron syntax or one-shot 'at' patterns.
  2. Configure the job payload with explicit bash commands and task instructions tailored for Openclaw Skills.
  3. Assign an isolated session target to ensure the cron job runs independently of the main user chat.
  4. Define the delivery mechanism, choosing between internal agent posting (e.g., direct Telegram tools) or system-level announcements.
  5. Register the job within the environment and monitor execution using the built-in cron listing tools.

Cron Job Setup Setup

To get started with scheduled tasks in Openclaw Skills, you can view your current configuration or add new jobs using the CLI. Use the following command to see active jobs:

cron list

When defining a new job, use the standardized JSON template. Ensure you specify the model as anthropic/claude-sonnet-4-5 for the best balance of reliability and speed:

# Example of a job registration payload
{
  "name": "daily-cleanup",
  "schedule": {
    "kind": "cron",
    "expr": "0 4 * * *",
    "tz": "America/New_York"
  },
  "payload": {
    "kind": "agentTurn",
    "message": "Run cleanup scripts and report status",
    "model": "anthropic/claude-sonnet-4-5"
  }
}

Cron Job Setup Data Schema & Taxonomy

The skill organizes cron jobs using a structured JSON schema to ensure compatibility across Openclaw Skills. Below is the primary metadata taxonomy:

Property Description Expected Value
name Unique identifier Kebab-case string (e.g., inbox-check)
schedule Timing configuration Object containing kind, expr, and tz
sessionTarget Execution environment Usually isolated for background tasks
payload Task details Object containing message, model, and timeoutSeconds
delivery Output handling Object with mode (none/announce) and optional channel targets

Cron Job Setup Advanced Features

  • Direct Telegram integration allowing agents to post updates to specific Topic IDs for organized communication.
  • Token-saving SKIP logic that allows agents to terminate early if no action is required during a scheduled run.
  • Support for isolated session targeting to prevent context leakage between different automated Openclaw Skills.
  • Custom delivery modes that allow for either silent execution or automated channel announcements based on task importance.
  • Error handling protocols defined within the task instructions to manage command failures autonomously.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*