cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
%3CLINGO-SUB%20id%3D%22lingo-sub-601332%22%20slang%3D%22fr-FR%22%20mode%3D%22NONE%22%3E%E8%87%AA%E5%8B%95%E8%85%B3%E6%9C%AC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601332%22%20slang%3D%22fr-FR%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E5%9C%A8%20JMP%20%E4%B8%8B%E8%A3%BD%E4%BD%9C%E4%B8%80%E5%80%8B%E6%AF%8F%20n%20%E5%88%86%E9%90%98%E8%87%AA%E5%8B%95%E5%95%9F%E5%8B%95%E7%9A%84%E8%85%B3%E6%9C%AC%EF%BC%9F%20(%E8%81%AF%E5%90%88%E8%A1%8C%E5%8B%95%E8%A8%88%E5%8A%83%2017)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-601332%22%20slang%3D%22fr-FR%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E8%85%B3%E6%9C%AC%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601351%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%87%AA%E5%8B%95%E8%85%B3%E6%9C%AC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601351%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%88%91%E8%AA%8D%E7%82%BA%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%20JMP%20%E4%B8%AD%E6%A7%8B%E5%BB%BA%E4%B8%80%E5%80%8B%E5%BE%AA%E7%92%B0%E4%BE%86%E5%9F%B7%E8%A1%8C%E6%AD%A4%E6%93%8D%E4%BD%9C%EF%BC%8C%E4%BD%86%E6%9C%80%E5%A5%BD%E6%98%AF%E4%BD%BF%E7%94%A8%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%B5%B1%E4%BE%86%E5%AE%89%E6%8E%92%E4%BB%BB%E5%8B%99%EF%BC%8C%E5%B0%B1%E5%83%8F%E5%9C%A8%20Windows%20%E7%AD%89%E4%B8%AD%E4%B8%80%E6%A8%A3%E3%80%82%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Ftaskschd%2Fabout-the-task-scheduler%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%E9%97%9C%E6%96%BC%E4%BB%BB%E5%8B%99%E8%A8%88%E5%8A%83%E7%A8%8B%E5%BA%8F%20-%20Win32%20%E6%87%89%E7%94%A8%E7%A8%8B%E5%BA%8F%20%7C%E5%BE%AE%E8%BB%9F%E5%AD%B8%E7%BF%92%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601360%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%87%AA%E5%8B%95%E8%85%B3%E6%9C%AC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601360%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9474%22%20target%3D%22_blank%22%3E%40%E5%96%AC%E6%B2%BB%3C%2FA%3E%E5%BB%BA%E8%AD%B0%E4%BD%BF%E7%94%A8%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%B5%B1%E8%AA%BF%E5%BA%A6%E7%A8%8B%E5%BA%8F%E5%AE%9A%E6%9C%9F%E9%87%8D%E6%96%B0%E5%95%9F%E5%8B%95%20JMP%E3%80%82%3C%2FP%3E%0A%3CP%3EJMP%20%E4%B9%9F%E6%9C%89%E4%B8%80%E5%80%8B%20schedule()%20%E5%87%BD%E6%95%B8%EF%BC%8C%E4%BD%86%E5%AE%83%E9%9C%80%E8%A6%81%E8%AE%93%20JMP%20%E4%BF%9D%E6%8C%81%E9%81%8B%E8%A1%8C%E7%8B%80%E6%85%8B%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F17.0%2Findex.shtml%23page%2Fjmp%2Futility-functions.shtml%23ww2805822%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F17.0%2Findex.shtml%23page%2Fjmp%2Futility-functions.shtml%23ww2805822%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601410%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%87%AA%E5%8B%95%E8%85%B3%E6%9C%AC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601410%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%A4%AA%E5%A5%BD%E4%BA%86%EF%BC%8C%E8%AC%9D%E8%AC%9D%EF%BC%8C%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%EF%BC%8C%E9%80%99%E5%B0%B1%E6%98%AF%E9%96%B1%E8%AE%80%E7%A4%BE%E5%8D%80%E9%80%80%E5%87%BA%E6%9C%89%E5%B9%AB%E5%8A%A9%E7%9A%84%E5%8E%9F%E5%9B%A0%EF%BC%81%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E6%89%80%E4%BB%A5%E6%88%91%E8%AA%8D%E7%82%BA%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88%E5%85%B7%E9%AB%94%E5%8F%96%E6%B1%BA%E6%96%BC%E7%92%B0%E5%A2%83%E5%92%8C%E8%A6%81%E6%B1%82%E3%80%82%20%E6%88%91%E5%80%91%E4%BD%BF%E7%94%A8%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%B5%B1%E7%9A%84%E4%BB%BB%E5%8B%99%E8%AA%BF%E5%BA%A6%E7%A8%8B%E5%BA%8F%EF%BC%8C%E5%9B%A0%E6%AD%A4%E6%AF%8F%E6%AC%A1%E9%81%8B%E8%A1%8C%E9%83%BD%E6%9C%83%E5%95%9F%E5%8B%95%E4%B8%80%E5%80%8B%E6%96%B0%E7%9A%84%20JMP%20%E5%AF%A6%E4%BE%8B%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601413%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%87%AA%E5%8B%95%E8%85%B3%E6%9C%AC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601413%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9474%22%20target%3D%22_blank%22%3E%40%E5%96%AC%E6%B2%BB%3C%2FA%3E%E5%AF%AB%E9%81%93%EF%BC%9A%3CBR%20%2F%3E%3CP%3E%E6%88%91%E8%AA%8D%E7%82%BA%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%20JMP%20%E4%B8%AD%E6%A7%8B%E5%BB%BA%E4%B8%80%E5%80%8B%E5%BE%AA%E7%92%B0%E4%BE%86%E5%9F%B7%E8%A1%8C%E6%AD%A4%E6%93%8D%E4%BD%9C%EF%BC%8C%E4%BD%86%E6%9C%80%E5%A5%BD%E6%98%AF%E4%BD%BF%E7%94%A8%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%B5%B1%E4%BE%86%E5%AE%89%E6%8E%92%E4%BB%BB%E5%8B%99%EF%BC%8C%E5%B0%B1%E5%83%8F%E5%9C%A8%20Windows%20%E7%AD%89%E4%B8%AD%E4%B8%80%E6%A8%A3%E3%80%82%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Ftaskschd%2Fabout-the-task-scheduler%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%E9%97%9C%E6%96%BC%E4%BB%BB%E5%8B%99%E8%A8%88%E5%8A%83%E7%A8%8B%E5%BA%8F%20-%20Win32%20%E6%87%89%E7%94%A8%E7%A8%8B%E5%BA%8F%20%7C%E5%BE%AE%E8%BB%9F%E5%AD%B8%E7%BF%92%3C%2FA%3E%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E5%98%97%E8%A9%A6%E9%80%9A%E9%81%8E%E4%BB%BB%E5%8B%99%E8%A8%88%E5%8A%83%E7%A8%8B%E5%BA%8F%20(windows)%20%E9%81%8B%E8%A1%8C%E5%AE%83%EF%BC%8C%E8%AB%8B%E4%B8%8D%E8%A6%81%E5%BF%98%E8%A8%98%E5%B0%87%20%2F%2F!%22%20%E6%B7%BB%E5%8A%A0%E5%88%B0%E7%AC%AC%E4%B8%80%E8%A1%8C%E3%80%82%20%E9%80%99%E6%A8%A3%E5%AE%83%E5%B0%B1%E6%9C%83%E8%87%AA%E5%8B%95%E9%81%8B%E8%A1%8C%EF%BC%8C%E8%80%8C%E4%B8%8D%E5%83%85%E5%83%85%E6%98%AF%E6%89%93%E9%96%8B%E3%80%82%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F17.0%2Findex.shtml%23page%2Fjmp%2Frun-a-script.shtml%23%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F17.0%2Findex.shtml%23page%2Fjmp%2Frun-a-script.shtml%23%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E7%AC%AC%E4%B8%80%E8%A1%8C%EF%BC%9A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2F!%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601449%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%87%AA%E5%8B%95%E8%85%B3%E6%9C%AC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601449%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%9C%A8%E6%88%91%E7%9A%84%E4%BE%8B%E5%AD%90%E4%B8%AD%EF%BC%8C%E6%88%91%E6%B2%92%E6%9C%89%E4%BD%BF%E7%94%A8%20%2F%2F!%EF%BC%8C%E5%9B%A0%E7%82%BA%E6%88%91%E7%99%BC%E7%8F%BE%E6%89%93%E9%96%8B%E8%85%B3%E6%9C%AC%E9%80%B2%E8%A1%8C%E7%B7%A8%E8%BC%AF%E6%99%82%E5%AE%83%E5%BE%88%E7%85%A9%E4%BA%BA%EF%BC%8C%E5%AE%83%E6%9C%83%E4%B8%80%E7%9B%B4%E5%9F%B7%E8%A1%8C%EF%BC%88%E6%88%91%E7%B6%93%E5%B8%B8%E5%BF%98%E8%A8%98......%EF%BC%89%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E8%80%8C%E4%B8%8D%E6%98%AF%E5%9C%A8%20Win10%20%E4%B8%AD%E4%BD%BF%E7%94%A8%20Task-Scheduler%EF%BC%8C%E4%B8%A6%E5%B0%87%20JMP.exe%20%E6%B7%BB%E5%8A%A0%E7%82%BA%E7%A8%8B%E5%BA%8F%E4%B8%A6%E5%B0%87%E8%85%B3%E6%9C%AC%E8%B7%AF%E5%BE%91%E6%B7%BB%E5%8A%A0%E7%82%BA%E5%8F%AF%E9%81%B8%E5%8F%83%E6%95%B8%EF%BC%8CJMP%20%E4%BB%A5%E5%AE%9A%E7%BE%A9%E7%9A%84%E6%96%B9%E5%BC%8F%E5%9F%B7%E8%A1%8C%E8%85%B3%E6%9C%AC%EF%BC%8C%E5%9B%A0%E6%AD%A4%E2%80%9C%2F%2F!%E2%80%9D%E4%B8%8D%E9%9C%80%E8%A6%81%E3%80%82%20%E7%95%B6%E7%84%B6%EF%BC%8C%E8%85%B3%E6%9C%AC%E9%9C%80%E8%A6%81%E5%9C%A8%E5%AE%8C%E6%88%90%E5%BE%8C%E9%97%9C%E9%96%89%20JMP%20(%20Quit()%3B%20)%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601548%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%87%AA%E5%8B%95%E8%85%B3%E6%9C%AC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601548%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E8%AB%8B%E5%8F%83%E9%96%B1%E5%B9%AB%E5%8A%A9%20%26gt%3B%20%E8%85%B3%E6%9C%AC%E7%B4%A2%E5%BC%95%E3%80%82%20%E7%84%B6%E5%BE%8C%E6%90%9C%E7%B4%A2%20Schedule()%20%E5%87%BD%E6%95%B8%E3%80%82%20%E8%A9%B2%E5%87%BD%E6%95%B8%E5%AE%8C%E5%85%A8%E5%9C%A8%20JMP%20%E4%B8%AD%E9%81%8B%E8%A1%8C%EF%BC%8C%E4%B8%8D%E4%BE%9D%E8%B3%B4%E6%96%BC%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%B5%B1%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
hcarr01
Level VI

script automatique

Bonjour, est-il possible de faire un script sous JMP qui se lance automatiquement toutes les n minutes ? (JMP 17)

1 ACCEPTED SOLUTION

Accepted Solutions
AApperson
Level II

Re: script automatique


@Georg wrote:

I think you can build a loop in JMP to do so, but better would be to use the Operating System to schedule the task like possible in Windows etc.

About the Task Scheduler - Win32 apps | Microsoft Learn



Don't forget to add the //!" to the first line if you try to run this via task scheduler (windows). This is so it will automatically run and not just open.

https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/run-a-script.shtml# 

 

Line1:

 

//!

 

View solution in original post

6 REPLIES 6
Georg
Level VII

Re: script automatique

I think you can build a loop in JMP to do so, but better would be to use the Operating System to schedule the task like possible in Windows etc.

About the Task Scheduler - Win32 apps | Microsoft Learn

Georg
AApperson
Level II

Re: script automatique


@Georg wrote:

I think you can build a loop in JMP to do so, but better would be to use the Operating System to schedule the task like possible in Windows etc.

About the Task Scheduler - Win32 apps | Microsoft Learn



Don't forget to add the //!" to the first line if you try to run this via task scheduler (windows). This is so it will automatically run and not just open.

https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/run-a-script.shtml# 

 

Line1:

 

//!

 

Georg
Level VII

Re: script automatique

In my case I have not used the //!, because I found it annoying when opening the script for editing it would have executed all the time (I often forgot ...).

 

Instead in Win10 using Task-Scheduler, and adding JMP.exe as Program and the script path as optional argument, JMP executes the script in defined way, so "//!" is not needed. Of course, the script needs to close JMP after finishing ( Quit(); ).

Georg
Craige_Hales
Super User

Re: script automatique

@Georg  suggested using the OS scheduler to relaunch JMP periodically.

JMP also has a schedule() function, but it requires leaving JMP running.

https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/utility-functions.shtml#ww2805822

 

Craige
Georg
Level VII

Re: script automatique

great, thanks, was not aware of, that's the reason why reading community is quit helpful!

 

So I think the solution depends on the environment and requirement in detail. We use task scheduler of operating system, so that for each run a new instance of JMP is started.

 

Georg

Re: script automatique

See Help > Scripting Index. Then search for the Schedule() function. This function works entirely within JMP and does not rely on the OS.