<?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: How to script to submit scheduled job in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/482305#M72667</link>
    <description>&lt;P&gt;One other thing to at&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9802"&gt;@Mark_Zwald&lt;/a&gt;,&amp;nbsp;. &amp;nbsp;&lt;SPAN&gt;Add &lt;/SPAN&gt;&lt;SPAN&gt;//! &lt;/SPAN&gt;&lt;FONT face="inherit"&gt;to the first line of the script, and the script runs automatically when opened in JMP. (In other words, the script editor does not open.). When that's combined with exit(); and the use of "private" or "&lt;/FONT&gt;invisible" tables, the user of the script might not notice it running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh and about exit(); &amp;nbsp;it makes the current instance of JMP or the Instance JMP it is run in quit. &amp;nbsp;So make sure you save before running a script with exit(); in it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 17:49:20 GMT</pubDate>
    <dc:creator>Byron_JMP</dc:creator>
    <dc:date>2022-04-26T17:49:20Z</dc:date>
    <item>
      <title>How to script to submit scheduled job</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/481743#M72605</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Is there a scriptable way to submit a scheduled job?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:48:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/481743#M72605</guid>
      <dc:creator>Tomer9w</dc:creator>
      <dc:date>2023-06-09T00:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to script to submit scheduled job</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/481765#M72608</link>
      <description>&lt;P&gt;There is the Schedule() function in JMP, which will run a script X number of seconds in the future.&amp;nbsp; But to do what you are looking for, I suggest you look at operating system tools and/or 3rd party products.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 13:32:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/481765#M72608</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-04-24T13:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to script to submit scheduled job</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/481773#M72615</link>
      <description>&lt;P&gt;As was suggested by &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;, Windows Task Scheduler is your friend (or Automator on MacOS).&amp;nbsp; To automate a JSL script, setup a Windows task to call the JMP.exe program with the .jsl script file as the argument.&amp;nbsp; This will cause JMP to run the script with the frequency you specify.&amp;nbsp; You probably want to include an exit() statement at the end of your script so that JMP closes after the script runs.&amp;nbsp; Take a look at this blog post which shows how to do it:&amp;nbsp;&lt;LI-MESSAGE title="Automating JMP import and publishing using Window Task Scheduler" uid="272288" url="https://community.jmp.com/t5/Elevated-Thinking/Automating-JMP-import-and-publishing-using-Window-Task-Scheduler/m-p/272288#U272288" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 17:39:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/481773#M72615</guid>
      <dc:creator>Mark_Zwald</dc:creator>
      <dc:date>2022-04-25T17:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to script to submit scheduled job</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/482305#M72667</link>
      <description>&lt;P&gt;One other thing to at&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9802"&gt;@Mark_Zwald&lt;/a&gt;,&amp;nbsp;. &amp;nbsp;&lt;SPAN&gt;Add &lt;/SPAN&gt;&lt;SPAN&gt;//! &lt;/SPAN&gt;&lt;FONT face="inherit"&gt;to the first line of the script, and the script runs automatically when opened in JMP. (In other words, the script editor does not open.). When that's combined with exit(); and the use of "private" or "&lt;/FONT&gt;invisible" tables, the user of the script might not notice it running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh and about exit(); &amp;nbsp;it makes the current instance of JMP or the Instance JMP it is run in quit. &amp;nbsp;So make sure you save before running a script with exit(); in it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 17:49:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-script-to-submit-scheduled-job/m-p/482305#M72667</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2022-04-26T17:49:20Z</dc:date>
    </item>
  </channel>
</rss>

