MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Running Mathematica in Kernel mode (UNIX)

  • To: mathgroup at
  • Subject: [mg39954] Running Mathematica in Kernel mode (UNIX)
  • From: algusev at (Alexander Gusev)
  • Date: Thu, 13 Mar 2003 03:01:38 -0500 (EST)
  • Sender: owner-wri-mathgroup at

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]

$Notebooks = True

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
;( 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 ?

 Alexander Gusev.

  • Prev by Date: Re: Right-click'd BMP vs. exported BMP
  • Next by Date: RE: Summations with Primes
  • Previous by thread: Re: Don't understand Plot behavior
  • Next by thread: Re: Running Mathematica in Kernel mode (UNIX)