cron

GitHub

用于调度提醒和周期性任务,支持一次性、固定间隔及Cron表达式模式,可处理时区转换并自动执行或发送消息。

App/memmy-agent/src/skills/cron/SKILL.md MemTensor/memmy-agent

Trigger Scenarios

用户要求设置定时提醒 用户需要安排周期性重复任务 用户指定特定时间执行一次性操作

Install

npx skills add MemTensor/memmy-agent --skill cron -g -y
More Options

Non-standard path

npx skills add https://github.com/MemTensor/memmy-agent/tree/main/App/memmy-agent/src/skills/cron -g -y

Use without installing

npx skills use MemTensor/memmy-agent@cron

指定 Agent (Claude Code)

npx skills add MemTensor/memmy-agent --skill cron -a claude-code -g -y

安装 repo 全部 skill

npx skills add MemTensor/memmy-agent --all -g -y

预览 repo 内 skill

npx skills add MemTensor/memmy-agent --list

SKILL.md

Frontmatter
{
    "name": "cron",
    "description": "Schedule reminders and recurring tasks."
}

Cron

Use the cron tool to schedule reminders or recurring tasks.

Three Modes

  1. Reminder - message is sent directly to user
  2. Task - message is a task description, agent executes and sends result
  3. One-time - runs once at a specific time, then auto-deletes

Examples

Fixed reminder:

cron(action="add", message="Time to take a break!", every_seconds=1200)

Dynamic task (agent executes each time):

cron(action="add", message="Check MemTensor/memmy-agent GitHub stars and report", every_seconds=600)

One-time scheduled task (compute ISO datetime from current time):

cron(action="add", message="Remind me about the meeting", at="<ISO datetime>")

Timezone-aware cron:

cron(action="add", message="Morning standup", cron_expr="0 9 * * 1-5", tz="America/Vancouver")

List/remove:

cron(action="list")
cron(action="remove", job_id="abc123")

Time Expressions

User says Parameters
every 20 minutes every_seconds: 1200
every hour every_seconds: 3600
every day at 8am cron_expr: "0 8 * * *"
weekdays at 5pm cron_expr: "0 17 * * 1-5"
9am Vancouver time daily cron_expr: "0 9 * * *", tz: "America/Vancouver"
at a specific time at: ISO datetime string (compute from current time)

Timezone

Use tz with cron_expr to schedule in a specific IANA timezone. Without tz, the server's local timezone is used.

Version History

  • 211d521 Current 2026-08-02 21:47

Same Skill Collection

App/memmy-agent/src/skills/agent-memory-onboarding/SKILL.md
App/memmy-agent/src/skills/github/SKILL.md
App/memmy-agent/src/skills/goal/SKILL.md
App/memmy-agent/src/skills/image-generation/SKILL.md
App/memmy-agent/src/skills/skill-creator/SKILL.md
App/memmy-agent/src/skills/summarize/SKILL.md
App/memmy-agent/src/skills/tmux/SKILL.md
App/memmy-agent/src/skills/ui-craft/SKILL.md
App/memmy-agent/src/skills/weather/SKILL.md
Memory/src/cli/skills/memmy-memory/SKILL.md

Metadata

Files
0
Version
211d521
Hash
6679859d
Indexed
2026-08-02 21:47

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-03 16:08
浙ICP备14020137号-1 $Гость$