we've configured mail on DB2 data studio DSWC console. (gave mail relay server details) it used to work fine. like whenever we schedule backup jobs from DB2 side, we used to get emails after job completion.
for some reason, it stopped working now.
Please see the below info messges from mail/syslogs on AIX.
Note: we never gave the mail/relay server details on this particular aixhost. even though, i used to receive emails from data studio.
And we actually gave mail/relay server details in data studio console. mail server is "mailhost.net" ; but logs showing that realy=example.com
please provide your suggestions.
Thank you
Last edited by aaron8667; 02-16-2015 at 05:06 PM..
Hi
I have a file say xyz.sh, whose contents are as follows :
***************************
#! /bin/ksh
set -x
. /a.sh
. /b.sh
. /c.sh
*****************************
Now will this execute all the three process simultaneously or sequentially?
If it will process simultaneously, is... (3 Replies)
Hello,
Every evening I run few shell scripts on AIX Production Box, One shell script takes about one hour to complete and does some DB updation and application processing etc. The shell scripts are getting launched from prompt and not through cron or any scheduler as they require some manual... (0 Replies)
Hello,
I am new to POSTFIX.
My manager has asked me to configure POSTFIX running on a server to accept mail only from itself(localhost). Can someone tell me how I can go about doing this? (1 Reply)
Hello everybody,
Can anybody tell me how do we comfirm the execution of a scheduled job ?
In other words, how do I know whether my scheduled script is being executed or not ?
Thanks
Jitu JK (2 Replies)
Hi,
I want to run a crontab job on solaris 10.5. I have configured the crontab accordingly
10 * * * * /scripts/dbalter.pl >> /scripts/cronout.txt
However this does not work .Then I go to /var/mail/root and find an error in the output:
From root@myserver Wed Feb 4 17:02:00 2009... (1 Reply)
All,
We need to run multiple jobs in parallel with the dependencies intact.
I was trying to use the same with &, but in vain. Is there is any other way to resolve this issue.
I need to run
Set1
A.sh
B.sh
C.sh
Set2
D.sh
E.sh
Set3
F.sh (10 Replies)
Hi All,
At present I am using a UNIX Script which is running a set of JOBS. These JOBS are to be repeated for 20 times, means the same set of JOBS are repeated by just passing different arguments (From 1 to 20).
Is there any way by which I can execute them parallel?
At present its all... (4 Replies)
Hi All,
I am facing a problem with crontab.I made an entry in crontab like this
05 07 * * * /afs2/cdwfullacc/current/exe/cdw_generate_special_klant.sh > /afs2/cdwfullacc/current/scratch/cdw_gen_cron.log
But job was not getting executed.
Entry in crontab was made with same user by whom... (4 Replies)
HI,
I have written an executable file in unix and I was able to execute it successfully but when I called this file with cron job it was giving error like "permission denied" and "No such file or directory".
Please help in how cron calls the file and what permission is required on the file... (2 Replies)
Discussion started by: vipin kumar rai
2 Replies
LEARN ABOUT DEBIAN
notify
NOTIFY(8) System Manager's Manual NOTIFY(8)NAME
notify - HylaFAX user notification script
SYNOPSIS
/var/spool/hylafax/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.
TEMPLATE
the template subdirectory to use when sending e-mails. HylaFAX ships with a base set of templates, and some direct translations.
To use the German translated templates, set TEMPLATE=de in FaxNotify. This is relative to the base template directory.
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/hylafax spooling area
/usr/lib/sendmail for delivering mail
SEE ALSO faxq(8), hylafax-server(5), sendq(5)
May 8, 1996 NOTIFY(8)