From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,78a210f65bf435de X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,78a210f65bf435de X-Google-Attributes: gid1164f8,public X-Google-Thread: 1070f0,78a210f65bf435de X-Google-Attributes: gid1070f0,public X-Google-Thread: 11035d,78a210f65bf435de X-Google-Attributes: gid11035d,public X-Google-ArrivalTime: 2001-08-24 00:10:02 PST Path: archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail From: CBullivant@orange.net.au (Chris Bullivant) Newsgroups: comp.unix.admin,comp.unix.solaris,comp.sys.dec,comp.sys.sun.admin Subject: Re: cron-crash !!! Date: 24 Aug 2001 00:10:01 -0700 Organization: http://groups.google.com/ Message-ID: <5b812609.0108232310.482bf5dd@posting.google.com> References: <3B85A4E6.BF559C42@dgf.uchile.cl> NNTP-Posting-Host: 203.31.24.31 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 998637001 28421 127.0.0.1 (24 Aug 2001 07:10:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Aug 2001 07:10:01 GMT Xref: archiver1.google.com comp.unix.admin:14845 comp.unix.solaris:60403 comp.sys.dec:6659 comp.sys.sun.admin:17864 > I have 5 process that I need to run during the nigth.... > when I excecute the master process by myself (using a terminal), > everything > works fine.... however, when I use "crontab" or "at" ... I get a "core > dump" in one > of my tasks (f77 program, that produce outputs to the terminal ) ... > I have set the TERM enviroment variable, ... redirected the output to > /dev/null ... > .... > .... etc ... etc... > > but, I get the same all the time... > Any Idea ? > (I have a big cron-headache now, .. ) > > Rodrigo You may need to set up the environment within cron to be similar to your interactive. Run .profile (Bourne or Korn) or .cshrc (C-Shell) first and then set the output variables. Best to put it all together in a script. e.g. in Bourne #!/bin/sh . .profile TERM=""; export TERM run prog in C-Shell #!/bin/csh source .login source .cshrc unset TERM run prog Hope this helps, Chris Bullivant