Run a prompt or slash command on a recurring interval. Use when the user wants to set up a recurring task, poll for status, check something periodically, run something repeatedly on an interval, or keep monitoring. Default interval is 10 minutes. Syntax: /loop <interval> <prompt> or /loop <prompt> for default 10m. Also: 循环执行, 定时检查, 周期性运行, 持续监控, 定时轮询.
Run a prompt or slash command on a recurring interval.
/loop <interval> <prompt>
/loop <prompt> # defaults to 10 minutes
Interval formats:
5m = 5 minutes30s = 30 seconds1h = 1 hour2h30m = 2 hours 30 minutesExamples:
/loop 5m check if the deploy finished
/loop 2m gh run view --log
/loop verify the database migration completed