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

Home » Public Forums » archive » Error Handling - Emailing
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: Error Handling - Emailing [message #35093 is a reply to message #35053] Tue, 13 May 2003 18:30 Go to previous messageGo to previous message
condor is currently offline  condor
Messages: 35
Registered: January 2002
Member
Benjamin Panter <See@the_end.not> wrote in message news:<3EBA5A56.1A02C5A5@the_end.not>...
> I'm using programs written in IDL to analyse a massive dataset
> (~135k tasks) on about 20 CPUs spread around our site, and would like to
> get them to email me when there is a problem (ie when one of them
> crashes).


Well, if IDL actually *crashes*, it isn't going to do anything -
including sending mail.

I don't know how your processes get started, but some trivial csh
script like this could work:

echo ".run dreadedprocess" | idl >& outputfile
mail email@address < outputfile

which will simply collect everything idl produces in that file and
mail it when idl exits (presumably because it crashed).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL variables
Next Topic: Calling C++ from IDL - update

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

Current Time: Mon Dec 01 09:32:22 PST 2025

Total time taken to generate the page: 2.08279 seconds