Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

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.


  • 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)