Skip to main content

cron-request

Manage scheduled (cron) jobs directly from the sandbox using the cron-rpc script.

소스 정보

저장소
blas1n/openclaw-docker
최근 소스 활동
2026년 2월 10일 13:02
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
cron-request
description
Manage scheduled (cron) jobs directly from the sandbox using the cron-rpc script.
metadata
{"openclaw":{"emoji":"⏰"}}
# Cron Management ## Overview Use `node scripts/cron-rpc.mjs` via `exec` to manage OpenClaw cron jobs directly. No host access needed. ## Commands ### List jobs ```bash node scripts/cron-rpc.mjs list ``` ### Add a job ```bash node scripts/cron-rpc.mjs add '{"name":"job-name","message":"what to do","every":"1h"}' ``` ### Remove / enable / disable / run ```bash node scripts/cron-rpc.mjs rm <id> node scripts/cron-rpc.mjs enable <id> node scripts/cron-rpc.mjs disable <id> node scripts/cron-rpc.mjs run <id> ``` ## Add job JSON options | Field | Required | Example | Description | |-------|----------|---------|-------------| | `name` | yes | `"daily-news"` | Job name (lowercase, hyphenated) | | `message` | yes | `"Summarize AI news"` | Instruction for the agent when job fires | | `every` | pick one | `"1h"`, `"30m"` | Repeating interval | | `cron` | pick one | `"0 9 * * *"` | 5-field cron expression | | `at` | pick one | `"+20m"` | One-shot at time or offset | | `tz` | no | `"Asia/Seoul"` | Timezone for cron expressions | | `session` | no | `"main"` | Session target (default: `"isolated"`) | | `enabled` | no | `false` | Create disabled (default: `true`) | | `deleteAfterRun` | no | `true` | Auto-delete one-shot jobs | | `model` | no | `"ollama/gpt-oss:20b"` | Model override | ## Example User: "매일 아침 9시에 AI 뉴스 요약해줘" ```bash node scripts/cron-rpc.mjs add '{"name":"daily-ai-news","message":"오늘의 AI 뉴스를 검색하고 주요 내용을 HTML로 정리해서 file-share 링크로 보내줘","cron":"0 9 * * *","tz":"Asia/Seoul"}' ``` ## Guidelines - Results are automatically delivered to Telegram (chat ID is pre-configured). - Write clear `message` instructions — this is what the agent receives when the job fires. - Use `list` to verify the job was created. - Prefer `cron` expressions with `tz` for daily/weekly schedules.
GitHub에서 보기