09-20-2017
Email alert after termination
I am running the gaussian program on UNIX with bash and I want to form a script that will email me once the output life terminates either "normal termination" or "false" I just started learning this last week so could you let me know how to go about this.
4 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to code a script, which will run via cron, every 30 minutes.
The script will read a file containing a date&time and number (which represents disk space). The file gets appended to every 30 minutes. Here's a sample of the file:
CPU 1:04/25/02 1:00 am:1972554
CPU 1:04/25/02 1:30... (1 Reply)
Discussion started by: moon
1 Replies
2. Shell Programming and Scripting
Hello,
I want a script that will scan the file /etc/httpd/conf/httpd.conf and the folder /etc/httpd/libexec/
-bash-2.05b# grep mod_r /etc/httpd/conf/httpd.conf
LoadModule rewrite_module libexec/mod_rewrite.so
AddModule mod_rewrite.c
-bash-2.05b#
-bash-2.05b# find... (4 Replies)
Discussion started by: fed.linuxgossip
4 Replies
3. Shell Programming and Scripting
This is my first time writing a script and Im having some trouble,
Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage
I tried grep
Obviosly that hasnt worked,
Any... (8 Replies)
Discussion started by: jay02
8 Replies
4. UNIX for Beginners Questions & Answers
Hi There
I have to wrote a script where I am able to echo a result of an SQL script, however I want to be able to send an email to myself when it is more than 0 (so whenever a value is returned) is this possible?
I tried one way from looking on the web but this didn't work, I have added my... (8 Replies)
Discussion started by: simpsa27
8 Replies
LEARN ABOUT DEBIAN
paranoid::log::email
Paranoid::Log::Email(3pm) User Contributed Perl Documentation Paranoid::Log::Email(3pm)
NAME
Paranoid::Log::Email - Log Facility Email
VERSION
$Id: Email.pm,v 0.82 2010/04/15 23:23:28 acorliss Exp $
SYNOPSIS
use Paranoid::Log;
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
$recipient);
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
[ @recipients ]);
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
$recipient, $sender, $subject);
DESCRIPTION
This module implements an e-mail transport for messages sent to the logger. It supports one or more recipients as well as overriding the
sender address and subject line. It also supports connecting to a remote mail server.
DEPENDENCIES
o Net::SMTP
o Net::Domain
o Paranoid::Debug
SUBROUTINES
/METHODS
NOTE: Given that this module is not intended to be used directly nothing is exported.
init
log
remove
dump
SEE ALSO
o Paranoid::Log
BUGS AND LIMITATIONS
No validation of any information, be it the mail server, recipient, or anything else is done until a message actually needs to be sent.
Because of this you may have no warning of any misconfigurations just by enabling the facility.
AUTHOR
Arthur Corliss (corliss@digitalmages.com)
LICENSE AND COPYRIGHT
This software is licensed under the same terms as Perl, itself. Please see http://dev.perl.org/licenses/ for more information.
(c) 2005, Arthur Corliss (corliss@digitalmages.com)
perl v5.14.2 2010-04-15 Paranoid::Log::Email(3pm)