cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMPĀ® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
pauldeen
Level VI

Script license renewal from central server on startup

I would like to write a script that runs on JMP startup (I know how to do this, but not the rest) that checks how much longer the license is valid (or if it is already expired), then when we go below a certain threshold I want to pull a new .sid file from a file server and load that to renew the license file. Now given that renew license() is not even mentioned in the scripting index there is not a whole lot to go on with this. Does anybody have any tips on how to get started?

1 ACCEPTED SOLUTION

Accepted Solutions
Byron_JMP
Staff

Re: Script license renewal from central server on startup

The solution is so much easier than writing a script.

 

I would send all the users an email with instructions.

1) Open JMP

2) Go to File->Preferences

3) Select File Locations

4) Select License File Path

5) Browse and select   s:\data\license\jmp\15  (for example)

 

Then JMP would automatically pick up the new license file when the admin updated it in that one place, and none of the users would have to worry about anything. 

 

 

JMP Systems Engineer, Health and Life Sciences (Pharma)

View solution in original post

5 REPLIES 5
Byron_JMP
Staff

Re: Script license renewal from central server on startup

The solution is so much easier than writing a script.

 

I would send all the users an email with instructions.

1) Open JMP

2) Go to File->Preferences

3) Select File Locations

4) Select License File Path

5) Browse and select   s:\data\license\jmp\15  (for example)

 

Then JMP would automatically pick up the new license file when the admin updated it in that one place, and none of the users would have to worry about anything. 

 

 

JMP Systems Engineer, Health and Life Sciences (Pharma)
pauldeen
Level VI

Re: Script license renewal from central server on startup

Is there a way to do this with network paths instead of mounted drives? It seems that when I put in something like \\server\path\Licenses JMP can no longer be started because the path cannot be found.

Re: Script license renewal from central server on startup

Hi pauldeen,

 

Yes, it is possible. I did it with a file server.

Guillaume

Re: Script license renewal from central server on startup

Hi,

 

To run a script a JMP startup, you can follow this documentation : https://www.jmp.com/support/help/en/15.1/index.shtml#page/jmp/run-a-script-at-start-up.shtml

 

Regards,

Guillaume

Guillaume
Jeff_Perkinson
Community Manager Community Manager

Re: Script license renewal from central server on startup

Beginning with JMP 17 the Renew License() jsl function will take an optional file location argument.

-Jeff