I am a developer and already familiar with how background workers, schedulers, and similar patterns are normally implemented in general‑purpose programming languages.
However, I’m interested in the JMP‑specific way to handle this. I have a JMP add‑in where the workflow loads data from a cached data file first, and users also have a button they can click if they want to refresh the cache and pull the latest data from the database. That part works fine.
What I want to avoid is having many users manually triggering that refresh and hitting the database individually. Instead, I would like the cache to update automatically for example, every hour, in the background maybe.
I noticed that JMP Live has an option to run a script on a schedule (similar to a cron job), but that doesn’t help in my case because I’m using a custom UI, and custom UIs don’t work with JMP Live.
There is Schedule() which you might be able to use. Scripting Index has few more commands related to it (online version).