Loading...
Loading...
Compare original and translation side by side
/scheduler:schedule-add/scheduler:schedule-list/scheduler:schedule-add/scheduler:schedule-list0 9 * * 1-50 9 * * 1-5You: Every night at 2am, refactor deprecated API calls and push for review
Claude: Should this run in an isolated git worktree?
→ Yes, create branch and push changes
→ No, run in main working directory
You: Yes
Claude: ✓ Task created with worktree isolation
Branch prefix: claude-task/
Remote: origin| Option | Default | Description |
|---|---|---|
| | Enable worktree isolation |
| | Branch name prefix |
| | Remote to push to |
您:每天凌晨2点,重构已废弃的API调用并推送至远程仓库等待审查
Claude:是否要在隔离的git worktree中运行此任务?
→ 是,创建分支并推送变更
→ 否,在主工作目录中运行
您:是
Claude:✓ 已创建带worktree隔离的任务
分支前缀:claude-task/
远程仓库:origin| 选项 | 默认值 | 描述 |
|---|---|---|
| | 启用worktree隔离 |
| | 分支名称前缀 |
| | 推送目标远程仓库 |
* * * * *
| | | | |
| | | | +-- Day of week (0-6, Sun=0)
| | | +---- Month (1-12)
| | +------ Day of month (1-31)
| +-------- Hour (0-23)
+---------- Minute (0-59)| Pattern | Description |
|---|---|
| Daily at 9:00 AM |
| Weekdays at 9:00 AM |
| Every 15 minutes |
| Every 2 hours |
| First of month at 9:00 AM |
| Every Monday at 9:00 AM |
* * * * *
| | | | |
| | | | +-- 星期几 (0-6,周日=0)
| | | +---- 月份 (1-12)
| | +------ 日期 (1-31)
| +-------- 小时 (0-23)
+---------- 分钟 (0-59)| 模式 | 描述 |
|---|---|
| 每天上午9:00 |
| 工作日上午9:00 |
| 每15分钟一次 |
| 每2小时一次 |
| 每月1日上午9:00 |
| 每周一上午9:00 |
Schedule: 0 9 * * 1-5 (weekdays at 9am)
Command: /review-code --scope=yesterday调度规则:0 9 * * 1-5(工作日上午9点)
命令:/review-code --scope=yesterdaySchedule: 0 10 * * 1 (Mondays at 10am)
Command: Check for outdated dependencies and security vulnerabilities调度规则:0 10 * * 1(每周一上午10点)
命令:检查过期依赖项和安全漏洞Schedule: 0 */4 * * * (every 4 hours)
Command: Run test suite and report failures调度规则:0 */4 * * *(每4小时一次)
命令:运行测试套件并报告失败情况/scheduler:schedule-status/scheduler:schedule-list/scheduler:schedule-logs <task-id>claude/scheduler:schedule-status/scheduler:schedule-list/scheduler:schedule-logs <task-id>claudepython scripts/parse-cron.py "0 9 * * 1-5"python scripts/parse-cron.py "0 9 * * 1-5"| Command | Description |
|---|---|
| Create a new scheduled task |
| View all scheduled tasks |
| Remove a scheduled task |
| Check scheduler health |
| Manually run a task |
| View execution logs |
| 命令 | 描述 |
|---|---|
| 创建新的定时任务 |
| 查看所有定时任务 |
| 删除指定定时任务 |
| 检查调度器健康状态 |
| 手动运行指定任务 |
| 查看任务执行日志 |