Subscribe Bookmark RSS Feed

Jmp automation

ivan_j_moore

Community Trekker

Joined:

Nov 24, 2014

Is it possible to automate your JMP scripts, be nice to arrive at work with all your jmp scripts ran and fresh data waiting to be viewed. Any help appreciated.

2 REPLIES
v_r

Community Trekker

Joined:

Nov 20, 2014

There is definitely a way you can incorporate automation.
This is an example of how I have my data refreshed every 4 hours.

We make use of the "schedule()" function here in a recursive expression.  


MySchedule = expr(


 


include("My_script.JSL");



 


schedule(14400, MySchedule); // Sample scan function set to 4 hr cycles



//schedule(3600, MySchedule);  // Sample scan function set to 1 hr cycles



);



MySchedule;


However without exception handling in "My_Script.JSL", if there is an error it will break out of the loop.

ivan_j_moore

Community Trekker

Joined:

Nov 24, 2014

Thanks for your info.

I will have a go at this over the next few days.

Not sure how it will work with data on the networks and PC locking out etc.

Let you know.

Regards,

Ivan