comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: idl -quiet command-line option doesn't work in cron
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: idl -quiet command-line option doesn't work in cron [message #67406 is a reply to message #67405] Sun, 26 July 2009 15:03 Go to previous messageGo to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
On Jul 24, 10:28 am, Bringfried Stecklum <steck...@tls-tautenburg.de>
wrote:
> I got you wrong, sorry. Do you call idl directly in crontab or via a shell
> script? A last resort would be to pipe the output into "head -n +2" to skip the
> first two lines.

OK, I am getting somewhere. Making a shell-script wrapper and calling
that in cron gets rid of the "IDL Version XX" issue, so my original
question is solved.

Now, what I am still getting are three messages that IDL is sending to
STDERR:

% Loaded DLM: HDF.
% Program caused arithmetic error: Floating divide by 0
% Program caused arithmetic error: Floating illegal operand

I thought I remembered a thread about the math errors on this group,
but I couldn't find it searching. The DLM loading message I'm not
optimistic about. Unless someone on this group knows a way to suppress
it, I will probably end up giving up on getting good errors through
cron, and directing the STDERR from the IDL process to either the log
or the bit bucket. Does any know if IDL supplies a return code
indicating completion vs. crashing of the VM?

P.S. FMI (For My Information, when I Google this problem down the
road): when your cron requires you to use 'sg' to get the right
ownership/permissions for files created, the command called must be in
single quotes, as

38 3 * * * sg thisgroup 'csh script.csh'
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Memory Leak
Next Topic: More that 2800 Solutions Manuals (Part 1)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 21:33:39 PDT 2025

Total time taken to generate the page: 1.68075 seconds