[TriLUG] send an email within a script

Douglas Kojetin djkojeti at unity.ncsu.edu
Fri Mar 5 09:10:36 EST 2004


I'm using some systems we have in our own lab ... but, how might one 
get access to the clusters?  :)

Doug

On Mar 5, 2004, at 9:06 AM, Elliot Peele wrote:

> Where on campus are you trying to run this? If your using one of the
> campus clusters the queuing system should have an option to email you
> when your job finishes.
>
> Elliot
>
> On Fri, 2004-03-05 at 08:47, Douglas Kojetin wrote:
>> I run some computational jobs that take (sometimes) a long time -- 
>> they
>> basically consist of a bunch of piped lines into various programs
>> within a C-shell script.  Anywho, the programs I use have the option 
>> of
>> displaying progress (verbose) or not.  I'd like to turn off the
>> verboseness ... but would like to have some sort of notification that
>> the job has finished (other than using 'top' to check and see if the
>> processes are still running).
>>
>> Is there a way, within a C-shell script, to send a quick mail to a
>> specified remote address with a subject (and body, if not difficult) 
>> to
>> alert me that the job is finished?  What program(s) could I use and 
>> how
>> might I go about doing it?




More information about the TriLUG mailing list