본문으로 건너뛰기
Skillpedia
자동화37k · #7574

cron

하는 일

이 스킬은 지정된 시간이나 반복 일정에 자동으로 실행되는 작업을 관리합니다. 반복 알림, 점검, 보고서를 원하는 사용자를 위한 스킬입니다.

사용하는 경우

  • ✓작업을 매일, 매주 또는 특정 시간에 실행하고 싶을 때.
  • ✓기존 예약 작업을 일시 정지, 재개하거나 변경해야 할 때.
  • ✓작업을 백그라운드에서 조용히 실행하고 결과는 기록에 남기고 싶은 경우.

스킬 링크

https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/cron-en/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/cron-en/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“평일 오전 9시마다 요약을 보내 주는 작업을 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 명령줄 도구를 통해 예약 작업을 만들고, 조회하고, 수정하고, 일시 정지하고, 삭제합니다. 모든 명령은 소속 에이전트를 지정하므로, 작업이 기본 워크스페이스에 들어가지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Cron (Scheduled Task Management)

When to Use

Use this skill only when you need to automatically execute something at a future time or repeat execution on a schedule.

Should Use

  • User asks to do something "daily / weekly / hourly"
  • User asks for automatic reminders or execution "tomorrow at 9 AM / next Monday / at a specific time"
  • Long-term periodic notifications, checks, or reports are needed

Should Not Use

  • The task only needs to be executed once right now
  • It is just a normal reply within the current session
  • The user has not specified an execution time or schedule
  • The target channel / user / session is still unclear

Decision Rules

  1. Only use cron for future scheduled or periodic execution
  2. If it only needs to be done once immediately, do not create a cron job
  3. Before creating, confirm execution time/schedule, target channel, target-user, and target-session
  4. All cron commands must explicitly include --agent-id
  5. Do not rely on the default agent, or the task may end up in the default workspace
  6. For an agent task that should run without channel output, add --silent; execution, session history, trace, and optional Inbox recording still continue
  7. Never run or resume an imported job while requires_review is set; review and approve it in Console first

Hard Rules

Must Explicitly Specify --agent-id

All qwenpaw cron commands must include:

--agent-id <your_agent_id>

Your agent_id is found in the Agent Identity section of the system prompt (Your agent id is ...). Do not omit it, or the task may be incorrectly created in the default agent's workspace.


Common Commands

# List tasks
qwenpaw cron list --agent-id <agent_id>

# View task details
qwenpaw cron get <job_id> --agent-id <agent_id>

# View task status
qwenpaw cron state <job_id> --agent-id <agent_id>

# Create a task
qwenpaw cron create --agent-id <agent_id> ...

# Delete a task
qwenpaw cron delete <job_id> --agent-id <agent_id>

# Pause / Resume a task
qwenpaw cron pause <job_id> --agent-id <agent_id>
qwenpaw cron resume <job_id> --agent-id <agent_id>

# Run an existing task once immediately
qwenpaw cron run <job_id> --agent-id <agent_id>

# Update an existing task
qwenpaw cron update <job_id> --agent-id <agent_id> ...

Creating Tasks

Two types are supported:

  • text: Send a fixed message on a schedule
  • agent: Ask an agent a question on a schedule and send the reply to the target channel

Two schedule modes are supported:

  • cron (--schedule-type cron): classic cron recurrence (for example, daily 09:00 or every 2 hours)
  • scheduled (--schedule-type scheduled): calendar-style schedule starting from --run-at, either one-time or repeating by day

Schedule Selection Rules (Must Follow)

  • If user intent is generic recurrence ("hourly/daily/weekly") without a specific start date, prefer cron
  • If user intent includes a concrete start date ("tomorrow", "next Monday", "starting from <date>", "for the next two weeks"), prefer scheduled
  • For one-time scheduled tasks: pass only --run-at and do not pass any --repeat-* options
  • For repeating scheduled tasks: pass --repeat-every-days and choose an end condition:
    • fixed count: --repeat-end-type count --repeat-count N
    • end datetime: --repeat-end-type until --repeat-until <ISO8601>
    • no end: --repeat-end-type never

Timeout Settings

Default timeout is 120 seconds (2 minutes). For longer agent tasks, you must explicitly set a larger timeout to prevent premature cancellation:

--timeout 600   # 10 minutes
--timeout 3600   # 1 hour

Core Rules:

  1. If the agent task involves web search, code execution, or multi-step tool calls, set --timeout 600 or higher
  2. Timeout must be less than the scheduling interval to prevent overlap (a new run firing while the previous one is still executing). Examples:
    • Every 15 minutes: --timeout should not exceed 900 seconds
    • Every 10 minutes: --timeout recommend no more than 80% of interval (i.e. 480 seconds)
    • Daily: --timeout can be larger, no special restriction needed
  3. For frequent tasks (interval ≤ 10 minutes), follow timeout ≤ 80% of interval; for infrequent tasks (hourly or above), set based on actual needs

Minimum Information Required Before Creating

  • --type
  • --name
  • --schedule-type
  • --cron (when --schedule-type cron)
  • `--
자주 묻는 질문

일회성 작업에도 써야 하나요?

아닙니다. 작업을 한 번만 바로 실행하면 된다면 예약하지 않고 직접 실행하라고 안내합니다.

왜 에이전트 ID를 꼭 줘야 하나요?

없으면 작업이 기본 워크스페이스에 들어갈 수 있으므로, 스킬은 항상 ID를 요구합니다.

조용한 모드는 무엇을 하나요?

채널로 출력을 보내지 않고 에이전트 작업을 실행하면서도 기록은 남깁니다.

상세 정보

작성자의 원본 설명

Use this skill only for scheduled or recurring tasks. Manage jobs with qwenpaw cron list/create/get/state/update/pause/resume/delete/run, and always pass --agent-id explicitly.

repo: agentscope-ai/QwenPaw

인기도

GitHub 스타
37k
순위
#7574
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬