From: Christian Hart on
Hey Everyone,

I am trying to run Matlab with crontab in order to produce pictures/graphs, on Max OS. I have read in the Technical Solutions that This problem may be able to be avoided using a VNC server.

[( http://www.mathworks.com/support/solutions/en/data/1-1B3IT/?solution=1-1B3IT )].

So I have been attempting to write a cronjob to do this, by opening x11 and then an xterm, but to no avial.

22 * * * * cd ../../; cd Applications/Utilities; open X11.app; cd ../../; cd users/x2007twe/Desktop; xterm -e "cd Desktop; matlab -nodesktop -mwvisual -r load_data"; xterm -e matlab -r load_data;

So I'm wondering if anyone has any ideas as to write some code to get Pictures to be produced?

-Thanks a million
-Christian