I am having a job and I need to send email when the job is running. On any other case (success,fail) I don't needed to send email. I check with BMC they told they dont have that in the version I am using.
So I created a dependent job and grepped for the status and sent email. My issue is even the job is success it is send empty email.
If the job is success also it is sending an empty email. I put the above command on the depend job of wat_job. basically I want to mailx to execute only if grep RU is success and on a single command . is that possible ?
Hi frnds,
I want to send 3 csv files as attachement in unix server how do i do this.
Following is the steps which i need to follow:
1.Shell script sets the environment variables
2.Shell script calls a C++ executable
NOTE:This executable will generate 3 csv files
3.After the... (2 Replies)
Hello,
I am new to perl and need to create a script that will read a file and pull a name from the file and send e-mail.
How can I use the following awk statement in a perl script?
grep UNIXadmins /root/mail.conf | awk '{ print $2}'
and use the output to send a e-mail.
Any help would... (1 Reply)
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
hi,
i am very much new to shell scripting i have a requirement that i have to develop a License Renewal Alert system
that has to give a alert mail to the users before 30days of user account expiration, by checking expiration date of the user with the data base, this system will... (0 Replies)
Hello Gurus,
I have a question.
I have a file which has 2 columns and is tab separated and looks like below:
FIELD1 FIELD2
Manual m456@hotmail.com
Execution din098@gmail.com
Artistic m456@hotmail.com
Graphic din098@gmail.com
FIELD2 values will have always either of the 2 above... (8 Replies)
Hi All,
I have records in a file with name,SSO,openitems,manageremail with | delimited file.Now i want to group the records by SSO and openitems and send email to their manageremail.
kiran|1111|draft|aaa@gmail.com
guna|2222|reject|bbb@gmail.com
kiran|1111|submitter|aaa@gmail.com... (2 Replies)
I want to search a file if it contains special strings and if yes, the records found should be mailed.
I can either do it with a temporary file:
/usr/bin/grep somestring somefile > /tmp/tempfile && /usr/bin/mail -s "Found something" email@mycomp.com < /tmp/tempfile... or by running the grep... (10 Replies)
my request is:
i have to create a script , which will grep the 'not running' jobs and will send the update in mail with its name(job)
Scenario:
logged in to machine abc
went to particular path: cd /a/b/c
then ./script1.sh status (script.sh is a script,whose status gives info about 10 jobs... (1 Reply)
Hi All,
I have a working script as below.
echo "Files loaded with $(cat /var/tmp/script.X1.out)" | mail -s "Files loaded with return code" mailid
This script takes the output from script.X1.out file and appends the text "Files loaded with return code" and sends the email. Now what I want... (5 Replies)
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT SUSE
capisuitefax
CAPISUITEFAX(1)CAPISUITEFAX(1)NAME
capisuitefax - sending faxes with the CapiSuite default scripts
SYNOPSIS
capisuitefax [-q] [-n] [-u user] [-A adr] [-S subj] -d number file...
capisuitefax [-q] -a id
capisuitefax -h
capisuitefax -l
DESCRIPTION
The default scripts for CapiSuite come with the tool capisuitefax for sending faxes.
It will be called with some parameters telling it which file to send (it currently only supports PostScript and PDF files) and to which
number. It will then enqueue the job converted to the right format into the send queue from which it's collected by another CapiSuite
script and sent to the destination. If the sending was completed successfully or failed finally after trying for some time, the according
user will get an email telling him/her what has happened.
OPTIONS -a id Abort the job with the given id. To get a job id, use the -l option.
-A adr The addressee of the fax. This option is (currently) only for informational purposes and will be quoted in the sent status mail.
-d number
The number which should be called (destination of the fax)
-h Show a short commandline help
-l Shows the jobs which are currently in the send queue.
-n Don't use the configured dial prefix for this job. Useful for internal jobs.
-q Be quiet, don't output informational messages
-S subj
A subject for the fax. This option is (currently) only for informational purposes and will be quoted in the sent status mail.
-u user
Send fax as another user. Only allowed if capisuitefax is called as user root. This is mainly helpful for realizing extensions to
e.g. do network faxing.
file...
One or more PostScript/PDF files to send to this destination. More than one PostScript file will produce several separate fax jobs.
SEE ALSO capisuite(8), capisuite.conf(5), fax.conf(5), answering_machine.conf(5)AUTHOR
Gernot Hillier <gernot@hillier.de>.
CAPISUITEFAX(1)