<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JMP/JSL way to run periodic background tasks for refreshing cached data? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-JSL-way-to-run-periodic-background-tasks-for-refreshing/m-p/921142#M107990</link>
    <description>&lt;P&gt;There is &lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/utility-functions.shtml?os=win&amp;amp;source=application#ww2805822" target="_blank" rel="noopener"&gt;Schedule()&lt;/A&gt; which you might be able to use. Scripting Index has few more commands related to it (&lt;A href="https://jsl.jmp.com/All%20Categories/Objects/Scheduler.html" target="_blank" rel="noopener"&gt;online version&lt;/A&gt;).&lt;/P&gt;</description>
    <pubDate>Tue, 23 Dec 2025 16:15:52 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-12-23T16:15:52Z</dc:date>
    <item>
      <title>JMP/JSL way to run periodic background tasks for refreshing cached data?</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-JSL-way-to-run-periodic-background-tasks-for-refreshing/m-p/921132#M107989</link>
      <description>&lt;P&gt;&lt;!--StartFragment --&gt;&lt;/P&gt;
&lt;P&gt;&lt;!--StartFragment --&gt;&lt;/P&gt;
&lt;P&gt;I am a developer and already familiar with how background workers, schedulers, and similar patterns are normally implemented in general‑purpose programming languages.&lt;/P&gt;
&lt;P&gt;However, I’m interested in the &lt;STRONG&gt;JMP‑specific&lt;/STRONG&gt; 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.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&lt;!--EndFragment --&gt;&lt;/P&gt;
&lt;P&gt;&lt;!--EndFragment --&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 15:59:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-JSL-way-to-run-periodic-background-tasks-for-refreshing/m-p/921132#M107989</guid>
      <dc:creator>OddsDeer284888</dc:creator>
      <dc:date>2025-12-23T15:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: JMP/JSL way to run periodic background tasks for refreshing cached data?</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-JSL-way-to-run-periodic-background-tasks-for-refreshing/m-p/921142#M107990</link>
      <description>&lt;P&gt;There is &lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/utility-functions.shtml?os=win&amp;amp;source=application#ww2805822" target="_blank" rel="noopener"&gt;Schedule()&lt;/A&gt; which you might be able to use. Scripting Index has few more commands related to it (&lt;A href="https://jsl.jmp.com/All%20Categories/Objects/Scheduler.html" target="_blank" rel="noopener"&gt;online version&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 16:15:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-JSL-way-to-run-periodic-background-tasks-for-refreshing/m-p/921142#M107990</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-23T16:15:52Z</dc:date>
    </item>
  </channel>
</rss>

