I running below script from controlM and job is reporting as failure everyday so i tried to change the if exitstatus=1 (send only email) but not to end as a job is failed. can you let me know where i have to change this script to make the script not to fail but instead send email and complete successfully
====
Moderator's Comments:
Please use code tags when posting data and code samples!
Hi,
I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error
jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c
gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples... (2 Replies)
Forgive me, I do not know much about RAID so I'm going to be
as detailed as possible.
This morning, our server's alarm was going. I found that one
of our drives have failed. (we have 3)
It is an Adaptec ATA RAID 2400A controller
I'm purchasing a new SCSI drive today. My questions:
... (2 Replies)
I'm trying to change the user Id that the script is running under. I tried the sudo comand but the job was submitted under ControlM and it seems that controlM is not allowing the user id to change. I have included the job output below. The sudo comand was suppose to set the user id to "DWSOLAP"... (3 Replies)
Usually when su rejects an attempt to switch user it responds with "Sorry" but with a certain username on some unix servers the response is "Killed". I'm guessing the su accepted the username/password but refused to spawn child shell with the specified username. What's causing this and what has to... (8 Replies)
Dear Members,
I have a file which contains ControlM characters in it.
I need a command by the means of which i should be able to identify if a file has controlM characters.
How can this be achieved.
Thanks
Sandeep (4 Replies)
Hello,
Sometimes when i execute my shell that makes sftp it gives me this error:
Couldn't close file: Failure.
What does it mean?, how can i make sure it will do ok?.
Bye (2 Replies)
I am configuring Samba on one of my vmware.when i put smbclient -L local its showing error message : NT_STATUS_LOGON failure.I found that when i remove "Encrypted password entry from smb.conf" it works.
pls help me
---------- Post updated at 08:39 PM ---------- Previous update was at 07:11 PM... (0 Replies)
Hello,
i have a system with 6 sata3 seagate st3000dm01 disks running on stable Debian with software raid mdadm. i have md0 for root and md1 for swap and md2 for the files. i now want to add one more disk = sdh4 for md2 but i got this errors:
The new disk is connected to an 4 port sata... (7 Replies)
Discussion started by: Sunghost
7 Replies
LEARN ABOUT SUSE
notify
NOTIFY(8C)NOTIFY(8C)NAME
notify - HylaFAX user notification script
SYNOPSIS
/var/spool/fax/bin/notify qfile why jobtime [ nextTry ]
DESCRIPTION
bin/notify is the command script invoked by the facsimile server to notify a user about the status of an outbound job. The default notifi-
cation script sends the user electronic mail describing the event or action. The arguments are:
qfile the pathname of the job description file.
why a string that specifies why the user is being notified; one of:
Why Notes Meaning
done 1 job was completed successfully
failed 12 job was not completed
rejected 1 job was rejected for specified reasons
requeued 2 job was not completed, but was requeued for retry
removed 1 job was deleted from the queue
killed 1 job was deleted from the queue
timedout 1 job could not be sent before kill time expired
format_failed 1 document conversion failed
no_formatter 1 the document conversion program was not found
poll_rejected 12 a polling request was rejected by the remote side
poll_no_document 12 a polling request failed because nothing was available
poll_failed 12 a polling request failed for an unknown reason
blocked 3 job is blocked by concurrent jobs
1 A final job state
2 A transcript of the failed communication is returned to the sender.
3 No emails are sent for the block state, the job has been neither requeued nor done, but remains waiting in the queue for the
ability to be sent.
jobtime the total transmission time of a successful job or the connect time of a failed request (passed as a string).
nextTry the time (passed as a string) at which the next attempt will be made to complete the job. This parameter is passed only if why
is ``requeued''.
NOTES
The behavior of notify is intended to be customizable via the etc/FaxNotify script, if present. FaxNotify is sourced after the q-file is
parsed and all default values are preset. Useful settings for FaxNotify are:
WHY is identical to why mentioned above and can be useful in determining under what conditions various settings should take effect. For
example,
if [ "$WHY" != "done" ]; then
RETURNFILETYPE=pdf;
fi
This would only set RETURNFILETYPE when the job did not complete successfully.
RETURNFILETYPE
can be set to ``tif'', ``pdf'', ``ps'', or ``original''. If set, this causes notify to return a copy of the submitted documents to
the SENDER address along with the notification message. The ``original'' setting uses the format type that was used in the submis-
sion. Multiple values may be specified by separating them with whitespace. In that case a separate attachment is created for each
filetype.
NOTIFY_FAXMASTER
is used to deliver a notification message to TOADDR (which defaults to ``FaxMaster'') that contains technical information about the
job. This is useful in allowing the administrator to be aware of any problems before those problems are reported by the users.
Possible settings are ``yes'', ``always'', ``no'', ``never'', and ``errors''. If ``errors'' is used then the notification message
is only sent to FaxMaster when the job experienced an error. The default is ``no''.
The settings of the user in $notify (read from the sendq job file) controls whether the user will get the notification email. If you want
to force notification emails, irregardless of the users selection, or force a blocked notification (which is not sent by default), you can
set
notify="always"
which will force the notify script to send the email.
FILES
/var/spool/fax spooling area
/usr/sbin/sendmail for delivering mail
SEE ALSO faxq(8C), hylafax-server(5F), sendq(5F)
May 8, 1996 NOTIFY(8C)