Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

GConf errors when running from cron

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125633] GConf errors when running from cron
  • From: Tommi <tommi.tervo at gmail.com>
  • Date: Fri, 23 Mar 2012 01:33:03 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Hello

Simple script works fine from command line but when I'm trying to run
it from cron it will print following errors on RHEL6. Same setup works
fine on RHEL5. (Mathematica 7.0.1)

In[1]:= Initializing FinancialData indices ...
GConf Error: Failed to contact configuration server; some possible
causes are that you
need to enable TCP/IP networking for ORBit, or you have stale NFS
locks due to a system
crash. See http://projects.gnome.org/gconf/ for information. (Details
-  1: Not running
within active session)


$ crontab -l
58 11 * * * tcsh ~/math.test.csh

$ cat ~/math.test.csh
#!/usr/bin/env tcsh
module load mathematica
math < ~/test.m
module unload mathematica

$ cat test.m
FinancialData["USD/EUR"]


Any workarounds or hints what's wrong?

TIA,
Tommi



  • Prev by Date: Different Color in ToString
  • Next by Date: Re: Different Color in ToString
  • Previous by thread: Re: Type-Ahead Searches in a Manipulate or Dynamic Module
  • Next by thread: Trouble with MathKernel