一键导入
schedule-job
Schedule tasks using natural language time expressions. Use when asked to schedule a recurring or timed task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Schedule tasks using natural language time expressions. Use when asked to schedule a recurring or timed task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate lip-synced avatar video from text using OmniHuman v1.5. Use when creating talking-head or avatar videos.
Send and read emails via Gmail browser automation. Use when asked to send email or check inbox.
Generate voice-over audio using OpenAI TTS. Use when creating narration or voice for videos.
Render videos using Remotion compositions. Use when creating or generating videos.
Research topics for video content creation. Use when researching ideas for videos.
Write video scripts with hooks, structure, and timing. Use when creating scripts for videos.
| name | schedule-job |
| description | Schedule tasks using natural language time expressions. Use when asked to schedule a recurring or timed task. |
| disable-model-invocation | true |
| allowed-tools | ["Bash","Write"] |
Schedule tasks using cron with natural language time parsing.
* * * * * command
│ │ │ │ │
│ │ │ │ └─ day of week (0-7, 0 and 7 are Sunday)
│ │ │ └─── month (1-12)
│ │ └───── day of month (1-31)
│ └─────── hour (0-23)
└───────── minute (0-59)
| Natural Language | Cron Expression |
|---|---|
| at 15:46 | 46 15 * * * |
| every morning at 9am | 0 9 * * * |
| every monday at 8am | 0 8 * * 1 |
| every night at midnight | 0 0 * * * |
| every hour | 0 * * * * |
| every 30 minutes | */30 * * * * |
| every weekday at 6pm | 0 18 * * 1-5 |
| every sunday at noon | 0 12 * * 0 |
| first of every month at 9am | 0 9 1 * * |
| every 2 hours from 9am-9pm | 0 9-21/2 * * * |
(crontab -l 2>/dev/null; echo "46 15 * * * cd $WORKSPACE && claude -p \"your task here\" --dangerously-skip-permissions >> /var/log/agent.log 2>&1") | crontab -
WORKSPACE="/path/to/whatsapp-claude"
(crontab -l 2>/dev/null; echo "0 9 * * * cd $WORKSPACE && claude -p \"check hacker news\" --dangerously-skip-permissions >> /var/log/agent.log 2>&1") | crontab -
crontab -l
# Edit crontab interactively
crontab -e
# Or remove all jobs
crontab -r
# Remove job containing specific text
crontab -l | grep -v "specific text" | crontab -
(crontab -l 2>/dev/null; echo "0 8 * * * cd /path/to/whatsapp-claude && claude -p \"research trending AI on X, create video, upload to YouTube\" --dangerously-skip-permissions >> /var/log/agent.log 2>&1") | crontab -
(crontab -l 2>/dev/null; echo "0 18 * * 0 cd /path/to/whatsapp-claude && claude -p \"create github recap video for this week\" --dangerously-skip-permissions >> /var/log/agent.log 2>&1") | crontab -
(crontab -l 2>/dev/null; echo "0 */2 9-21 * * cd /path/to/whatsapp-claude && claude -p \"check X mentions, reply to interesting ones\" --dangerously-skip-permissions >> /var/log/agent.log 2>&1") | crontab -
Create /etc/logrotate.d/agent:
/var/log/agent.log {
daily
rotate 7
compress
missingok
notifempty
}
2>&1 to capture both stdout and stderrservice cron statusgrep CRON /var/log/syslogOn Windows, use Task Scheduler instead:
# Create scheduled task
schtasks /create /tn "ClaudeTask" /tr "cd C:\path\to\whatsapp-claude && claude -p 'task'" /sc daily /st 09:00