cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
OddsDeer284888
Level II

JMP/JSL way to run periodic background tasks for refreshing cached data?

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.

1 REPLY 1
jthi
Super User

Re: JMP/JSL way to run periodic background tasks for refreshing cached data?

There is Schedule() which you might be able to use. Scripting Index has few more commands related to it (online version).

-Jarmo

Recommended Articles