Xpersona
S

Scheduler Pro

CLAWHUB · Unverified

任务调度 - 定时任务/周期性任务/一次性提醒,cron语法支持,持久化存储,下次执行时间自动计算 Skill: Scheduler Pro Owner: 534422530 Summary: 任务调度 - 定时任务/周期性任务/一次性提醒,cron语法支持,持久化存储,下次执行时间自动计算 Tags: automation:2.0.0, cron:2.0.0, latest:2.0.0, pro:2.0.0, reminder:1.0.0, scheduler:2.0.0, task:2.0.0 Version history: v2.0.0 | 2026-05-29T23:31:25.261Z | auto - Version updated to 2.0.0, marking a major release. - Added new file: hub.json. - Introduced "badge: premium" to indicate premium status. - Various documentati

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170k9770tgh0506hw0dwtb6pd83kwyq:laosi-scheduler
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-534422530-laosi-scheduler/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

20,379 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
badge: premium
name: scheduler
version: 2.0.0
description: 任务调度 - 定时任务/周期性任�?一次性提醒,cron语法支持,持久化存储,下次执行时间自动计�?tags: [scheduler, cron, task, reminder, automation, productivity]
author: laosi
source: original
---

# Scheduler - 任务调度�?
> 激活词: 调度 / 定时任务 / 提醒 / schedule

## 功能

- 创建定时任务(cron表达式)
- 一次性提醒(指定时间�?- 周期性任务(每天/每周/每月�?- 任务列表和状态管�?- 下次执行时间自动计算
- 持久化存�?
## Python 实现

```python
import os, json, re
from datetime import datetime, timedelta
from typing import List, Optional, Dict
from dataclasses import dataclass, field, asdict

SCHEDULE_FILE = os.path.join(os.path.dirname(__file__), "scheduled_tasks.json")

@dataclass
class ScheduledTask:
    name: str
    schedule: str  # cron表达�? "minute hour day month weekday"
    description: str = ""
    enabled: bool = True
    last_run: Optional[str] = None
    next_run: Optional[str] = None
    created: str = ""
    run_count: int = 0
    tags: List[str] = field(default_factory=list)

class Scheduler:
    def __init__(self):
        os.makedirs(os.path.dirname(SCHEDULE_FILE), exist_ok=True)
        self.tasks: List[ScheduledTask] = []
        self._load()
    
    def _load(self):
        if os.path.exists(SCHEDULE_FILE):
            with open(SCHEDULE_FILE, encoding="utf-8") as f:
                data = json.load(f)
                self.tasks = [ScheduledTask(**t) for t in data]
    
    def _save(self):
        with open(SCHEDULE_FILE, "w", encoding="utf-8") as f:
            json.dump([asdict(t) for t in self.tasks], f,
                      ensure_ascii=False, indent=2)
    
    def add_task(self, name: str, schedule: str,
                 description: str = "", tags: list = None) -> ScheduledTask:
        """添加定时任务"""
        task = ScheduledTask(
            name=name,
            schedule=schedule,
            description=description,
            enabled=True,
            created=datetime.now().isoformat(),
            next_run=self._calc_next_run(schedule),
            tags=tags or []
        )
        self.tasks.append(task)
        self._save()
        return task
    
    def _calc_next_run(self, cron_expr: str) -> str:
        """计算下次执行时间(简化实现)"""
        parts = cron_expr.strip().split()
        if len(parts) != 5:
            return datetime.now().isoformat()
        
        minute, hour, day, month, weekday = parts
        now = datetime.now()
        
        # 简单解析:如果只有小时和分钟指�?        if minute == "*" and hour == "*":
            # 每分钟:下一分钟
            next_time = now + timedelta(minutes=1)
        elif minute != "*" and hour == "*":
            # 每小时的指定分钟
            m = int(minute)
            next_time = now.replace(minute=m, second=0, microsecond=0)
            if next_time <= now:
                next_time += timedelta(hours=1)
        elif minute != "*" and hour != "*":
            # 每天的指定时�?            h, m = int(hour), int(minute)
            next_time = now.replace(hour=h, minute=m, second=0, microsecond=0)
            if next_time <= now:
                next_time += timedelt

_meta.json

{
  "ownerId": "kn71pk44ca87scz3pstt90r66n80xhaa",
  "slug": "laosi-scheduler",
  "version": "2.0.0",
  "publishedAt": 1780097485261
}

skill-card.md

## Description:

Scheduler Pro helps agents define and manage local scheduled tasks, reminders, recurring jobs, cron-style schedules, and next-run calculations with persistent JSON storage.

This skill is ready for commercial/non-commercial use.

## Publisher:

[534422530](https://clawhub.ai/user/534422530)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent users can use this skill to maintain a lightweight local registry of scheduled tasks, reminders, system maintenance jobs, monitoring checks, reports, and workflow triggers. It is suited to simple scheduling support rather than acting as a full cron executor.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill is a simple local task registry and may be mistaken for a full cron executor.

Mitigation: Use it for lightweight reminders and schedule tracking, and rely on a production scheduler when exact execution semantics are required.

Risk: Task names, reminder text, and operational details may be stored in local plaintext JSON.

Mitigation: Avoid storing sensitive content unless local plaintext storage is acceptable for the deployment environment.

Risk: Deleting or toggling tasks changes the local schedule registry.

Mitigation: Confirm destructive or state-changing mutations before applying them.

## Reference(s):

- [Scheduler Pro ClawHub listing](https://clawhub.ai/534422530/skills/laosi-scheduler)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Configuration, Guidance]

**Output Format:** [Markdown with Python code examples and cron schedule tables]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces local scheduling guidance and sample Python code; persisted task data is stored in local JSON when the implementation is used.]

## Skill Version(s):

2.0.0 (source: server release evidence and artifact metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

hub.json

{
    "description":  "Premium version with full implementation, examples, and enterprise support",
    "minOpenClawVersion":  "1.2.0",
    "version":  "2.0.0",
    "tags":  [
                 "scheduler",
                 "cron",
                 "task",
                 "automation",
                 "pro"
             ],
    "author":  "laosi",
    "name":  "scheduler",
    "pricing":  {
                    "price":  1900,
                    "model":  "one-time"
                },
    "license":  "MIT",
    "displayName":  "Scheduler Pro"
}

Sponsored

Ads related to Scheduler Pro and adjacent AI workflows.