Aller au contenu
Skillpedia
Automatisations37k · #7574

cron

Ce qu’il fait

Cette compétence gère des tâches qui s'exécutent automatiquement à une heure fixe ou selon un calendrier répétitif. Elle s'adresse aux personnes qui veulent des rappels, des contrôles ou des rapports récurrents.

Quand l’utiliser

  • ✓Quand vous voulez qu'une tâche s'exécute chaque jour, chaque semaine ou à une heure précise.
  • ✓Quand vous devez suspendre, reprendre ou modifier une tâche planifiée existante.
  • ✓Quand vous voulez qu'une tâche s'exécute discrètement en arrière-plan, avec ses résultats conservés dans son historique.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/cron-en/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Mets en place une tâche qui m'envoie un résumé chaque jour ouvré à 9 h.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Elle crée, liste, modifie, suspend ou supprime des tâches planifiées grâce à un outil en ligne de commande. Chaque commande nomme l'agent auquel elle appartient, pour que les tâches n'atterrissent pas dans l'espace de travail par défaut.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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)
  • `--
Questions fréquentes

Faut-il l'utiliser pour les tâches ponctuelles ?

Non. Si une tâche ne doit s'exécuter qu'une fois, tout de suite, la compétence indique de la faire directement au lieu de la planifier.

Pourquoi l'identifiant de l'agent est-il obligatoire ?

Sans lui, la tâche pourrait finir dans l'espace de travail par défaut, c'est pourquoi la compétence l'exige toujours.

Que fait le mode silencieux ?

Il exécute la tâche de l'agent sans envoyer de sortie vers un canal, tout en conservant son historique.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
37k
Position au classement
#7574
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires