Use this skill only when you need to automatically execute something at a future time or repeat execution on a schedule.
--agent-id
--agent-idAll 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.
# 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>
Two types are supported:
Two schedule modes are supported:
--schedule-type cron): classic cron recurrence (for example, daily 09:00 or every 2 hours)--schedule-type scheduled): calendar-style schedule starting from --run-at, either one-time or repeating by daycron
scheduled
scheduled tasks: pass only --run-at and do not pass any --repeat-* optionsscheduled tasks: pass --repeat-every-days and choose an end condition:
--repeat-end-type count --repeat-count N
--repeat-end-type until --repeat-until <ISO8601>
--repeat-end-type never
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:
--timeout 600 or higher--timeout should not exceed 900 seconds--timeout recommend no more than 80% of interval (i.e. 480 seconds)--timeout can be larger, no special restriction needed--type
--name
--schedule-type
--cron (when --schedule-type cron)--run-at (when --schedule-type scheduled)--channel
--target-user
--target-session
--text
--agent-id
--timeout (for agent-type tasks, set an appropriate timeout based on expected execution time)If any of this information is missing, confirm with the user before creating the task.
# Recurring task (--schedule-type cron)
qwenpaw cron create \
--agent-id <agent_id> \
--type text \
--schedule-type cron \
--name "Daily Greeting" \
--cron "0 9 * * *" \
--channel imessage \
--target-user "CHANGEME" \
--target-session "CHANGEME" \
--text "Good morning!"
# Recurring task (--schedule-type cron)
qwenpaw cron create \
--agent-id <agent_id> \
--type agent \
--schedule-type cron \
--name "Check Todos" \
--cron "0 */2 * * *" \
--channel dingtalk \
--target-user "CHANGEME" \
--target-session "CHANGEME" \
--text "What are my pending tasks?" \
--timeout 600
# Scheduled one-time: remind at 9 AM tomorrow (no repeat)
qwenpaw cron create \
--agent-id <agent_id> \
--type text \
--schedule-type scheduled \
--name "Tomorrow Morning Reminder" \
--run-at "2026-05-13T09:00:00+08:00" \
--channel dingtalk \
--target-user "CHANGEME" \
--target-session "CHANGEME" \
--text "Standup starts at 9:00." \
--save-result-to-inbox
# Scheduled repeating: next two weeks, every day at 9 AM (14 runs)
qwenpaw cron create \
--agent-id <agent_id> \
--type text \
--schedule-type scheduled \
--name "Two-week Standup Reminder" \
--run-at "2026-05-13T09:00:00+08:00" \
--repeat-every-days 1 \
--repeat-end-type count \
--repeat-count 14 \
--channel dingtalk \
--target-user "CHANGEME" \
--target-session "CHANGEME" \
--text "Standup starts at 9:00." \
--save-result-to-inbox
qwenpaw cron create --agent-id <agent_id> -f job_spec.json
1. Determine whether this truly requires "future scheduling" or "periodic execution"
2. Confirm execution time/schedule
3. Confirm channel, target-user, target-session
4. Explicitly include --agent-id
5. Create the task with qwenpaw cron create
6. Manage tasks afterwards with list / state / pause / resume / delete
0 9 * * * Every day at 9:00
0 */2 * * * Every 2 hours
30 8 * * 1-5 Weekdays at 8:30
0 0 * * 0 Every Sunday at midnight
*/15 * * * * Every 15 minutes
If the task only needs to be done once right now, do not create a cron job.
This causes the task to be assigned to the wrong agent / workspace. All cron commands must explicitly include --agent-id.
If the user has not specified the time, schedule, target channel, or target session, ask for clarification first.
Before pausing, resuming, or deleting, first run:
qwenpaw cron list --agent-id <agent_id>
to find the correct job_id.
qwenpaw cron list --agent-id <agent_id> firstqwenpaw cron state <job_id> --agent-id <agent_id>
--save-result-to-inbox or --no-save-result-to-inbox
qwenpaw chats list --agent-id <agent_id> to get valid target-user and target-session
qwenpaw cron -h
qwenpaw cron list -h
qwenpaw cron create -h
qwenpaw cron get -h
qwenpaw cron state -h
qwenpaw cron pause -h
qwenpaw cron resume -h
qwenpaw cron delete -h
qwenpaw cron run -h