[TriLUG] send an email within a script

Elliot Peele ebpeele2 at pams.ncsu.edu
Fri Mar 5 09:06:31 EST 2004


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?
> 
> Thanks!
> Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20040305/a3552e43/attachment.pgp>


More information about the TriLUG mailing list