/loop/loop is the most convenient way to create recurring tasks. You only need to specify the time interval and the command to execute, and the system automatically converts them into a cron expression and creates the task./loop [interval] <command>
Parameter | Description |
Time Interval | Optional. Supports s (seconds), m (minutes), h (hours), and d (days). Defaults to 10 minutes when omitted. |
Command | Required. Content to execute each time the task is triggered, which can be natural language or a slash command. |
/loop 3m Check whether the pipeline has finished running and report the result to me.
/loop 30m Run unit tests once for me and let me know if there are any failed cases.
/loop 1h Check if there are any new PRs that need my review.
/loop 10m /check-build
every at the end):Monitor API response time for me every 8m.Check the deployment status every 25m.
/loop Check whether the backend service is responding normally.
/loop task execution is completed, the AI autonomously determines what the next round should do based on the current results: trigger earlier, delay triggering, maintain the original interval, or end the loop directly. For example, for a task like "check whether the pipeline has finished running", if the pipeline is still running, the AI may decide to shorten the next interval to get results faster. If the pipeline has already finished, the AI may decide to end the loop.Remind me at 4:30 PM to sync up on today's progress.Check in an hour whether that build task has produced any output.Generate a work report for yesterday for me at 9:00 AM tomorrow.
What scheduled tasks do I currently have?
Cancel the scheduled task for deployment checks.
Delete the scheduled task with ID xxx for me.
CronList and CronDelete tools respectively, which can be operated directly through conversation without memorizing specific commands.every hour, the actual trigger time may be randomly distributed within 0 to 6 minutes after the hour.Generate this week's work plan for me every Monday at 10:00 AM.On the morning of the 1st of each month, compile the previous month's code commit counts and summarize them by person.Remind me every Friday at 5:30 PM to sync progress and update task statuses.Check every day at 12:00 PM if there are any PRs pending my review.List the PRs that were not merged yesterday at 9:15 AM on weekdays.
Minute Hour Day Month Day of week
Expression | Description |
*/5 * * * * | Every 5 minutes |
*/15 * * * * | Every 15 minutes |
0 * * * * | At the top of every hour |
0 9 * * * | At 9:00 AM every day |
0 9 * * 1-5 | At 9:00 AM on weekdays |
0 0 1 * * | At midnight on the first day of each month |
30 18 * * 5 | At 6:30 PM every Friday |
Field | Value Range | Special Character |
Minute | 0–59 | * (any), */N (every N minutes), N,M (list), N-M (range) |
Hour | 0–23 | |
Date | 1–31 | |
Month | 1–12 | |
Day of week | 0–6 | 0 or 7 = Sunday, 1 = Monday, and so on. |
Item | Description |
Session binding | Tasks exist only within the session. After CodeBuddy Code exits, tasks disappear and are not written to disk. |
Recurring Task Limit | A maximum of 50 scheduled tasks can exist concurrently in each session. |
Minimum Interval | 1 minute (second-level settings are automatically rounded up) |
Task Expiration | Recurring tasks are automatically cleared after 3 days. |
No Catch-up Execution | Tasks missed during session interruption are not reissued or executed. |
CODEBUDDY_DISABLE_CRON=1 codebuddy
/loop skill is no longer available, and the CronCreate, CronList, and CronDelete tools are also disabled.Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback