Running Mathematica in Kernel mode (UNIX)
- To: mathgroup at smc.vnet.net
- Subject: [mg39954] Running Mathematica in Kernel mode (UNIX)
- From: algusev at hotmail.com (Alexander Gusev)
- Date: Thu, 13 Mar 2003 03:01:38 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello, there! I have to evaluate my notebook with crontab (Solaris). I have my.m script for this which contains: lnk = LinkLaunch["/opt/Mathematica/4.2/bin/Mathematica -mathlink"] $FrontEnd = FrontEndObject[lnk] Unprotect[$Notebooks] $Notebooks = True instruction. This script works fine with Windows math.exe < my.m It opens math, evaluate notebook and closing math w/o problem. So, how i can do this with unix ? Since my .m file contains NotebookOpen function call it requires Xterm for launching my script. But i need evaluate it with my crontab... Is it possible to do this ? I've tried to do this with vncserver (redirect DISPLAY to VNC) but w/o succses ;( Seems Math open some message boxes which i have to click... May be i should create init.m file with instruction 'no warning' ? I'm a new one with Math and don't know how i can do this. So, could anyone give me a solution or advice for my task ? Thanks, Alexander Gusev.