JM Tech Power

Tutorials

JJ Bot routines: ask a bot to do something on a schedule

← 全部文章 邮箱 RSS Atom

Tutorial · JJ Bot 0.3.139 – 0.3.164 · 15–17 November 2026

A routine is a task a bot runs by itself on a schedule, like a morning news summary. Routines used to be set up by hand on the Routines page. Since 0.3.139 you can simply ask a bot in a chat, and the updates up to 0.3.164 made it much easier to see what ran and to read the results.

1. Ask for it in a chat

Tell any bot (jj or one of your own) what should happen regularly, for example:

Summarise the news every morning at 8.

The bot sets the routine up with its create_routine tool, after you agree. It then tells you what was really set up: the first run time and its time zone, any time window, and where the results will go.

A routine can also run just once at a set moment (0.3.140), for example “tomorrow after 09:25, and again after 09:40, send me an analysis” becomes two one-time routines. If JJ Bot wasn't open at that moment, a one-time routine still runs up to 12 hours late; after that it's dropped.

One thing to remember: a routine doesn't see the chat it came from, so put everything it needs into the request.

2. See which chats have routines

  • A chat that set up routines shows a purple clock badge on its card (such as “2 routines set”) and a small clock by its name in the sidebar, while any of them is waiting to run. It turns green and spins while one runs. Hover it for the next run times, or click it to open the routine (0.3.144).
  • While a routine runs, a Routines icon appears on the dock next to Home: hover it to see which ones are running, click it to open the Routines page at the running one (0.3.149).

3. Read the results

  • A routine made in a chat posts each run's result back in that chat (0.3.147). Since 0.3.164 the result reads like the bot's other answers, with Copy, Quote and Share, and a short line saying which routine it was and when.
  • When a result arrives you hear at once: a notice in JJ Bot that opens the chat, the taskbar or Dock icon asking for attention, and an alert on your phone if its alerts are on (0.3.162).
  • The bot that receives the result reads it straight away and tells you the main conclusion, the report's date and data cut-off, and where to read it. If you'd rather it waited for your next message, turn this off on the Routines page.
  • Want every result in one place? Ask a bot to send all routine results to one bot of your choice, and they land in one “⏰ Routine results” chat with that bot (0.3.151). The Routines page also has one setting for where all results go, and Edit lets a single routine choose its own (0.3.161).

4. The Routines page

The Routines page lists every routine, where you can run one now, change it or pause it. Since 0.3.161:

  • A running routine shows at the top of its runs: when it started, what it's doing now (searching the web, reading pages, writing the result…) and when it's usually ready, refreshed every 10 seconds.
  • Each run shows when it started and finished, which bot and chat its result went to (with Open the chat), and buttons to open the report and its folder or send the result again.
  • Deleted lately keeps deleted routines for a while, shows who deleted them and when, and Restore brings one back.

Bots can also tidy up for you: with change_routines (0.3.148, you approve it) a bot can pause, resume or delete routines, for example to cut 25 five-minute checks down to the half-hourly ones.

Good to know

  • Routines run side by side, so a long run can't make the next one miss its time, and a routine still running isn't started twice (0.3.147).
  • Time-sensitive routines can have a window: past it, a late run is skipped and noted instead of running with newer data.
  • A run cut off because JJ Bot closed is marked “didn't finish” and reported in its chat; it isn't run again by itself.

Download JJ Bot or update it, and see everything that's new, on the JJ Bot page.

评论 (0)

暂无评论,成为第一个评论者!