Data Analysis can be scheduled through Action Nodes.
See http://www.mdsplus.org/old/gettingstarted/adddiagnostic.html, 6.f.
The WRITETEST action node was added by opening the cameras model tree (shot -1) in Edit mode in Traverser, selecting the TEST node, pulling down the Edit menu, and selecting "Add Node". Name the node and click the "action" radio button. Click OK. (Depending on your permissions, you may need to open the tree on the MDSplus server, which is skylark at PPPL.)
Note that you must put "localhost" as the second argument in the SUBMIT command if you want the script to run on skylark. Be sure to make /p/tdi/ActionIDL/actiontest.sh executable. (chmod a+x actiontest.sh)
Since this code will run on skylark, it must use routines accessible from skylark, like under /p/tdi. Be sure to use the full path to IDL on skylark.
tail -300 /usr/local/mdsplus_pppl/logs/nstx_mon_server/access