Datastage Job aborts Mail notification issue - datastage

Am working on Datastage 11.5, I have created a sequence jobs with Notification activity but I gave the trigger as Notify when FAILED.
As of now, I am receiving mails when job fails. I need to send mail even when JOB aborts as well. Currently, its not working. what to do ?

I use Version 10 but for fails use the "Exception Handler"-Stage in combination with the "Notification Activity"-Stage. For the aborts trigger your jobs to "warnings" in combination with the "Sequenzer"-Stage and the "Notification Activity"-Stage.
image:https://i.stack.imgur.com/EHRaF.jpg

Related

how to add failure control of each stage in ADF

if any of my stage fails, I need to pick it up from the same failed stage in my next run instead of starting from the first stage, how to achieve this is ADF? and how to send email whenever an stage fails so that all the users are notified?
if any of my stage fails, I need to pick it up from the same failed stage in my next run instead of starting from the first stage, how to achieve this is ADF?
Failde activity
To Rerun this pipeline from copy activity, click on Rerun from this activity symbol
Click on Ok
Output
It skipped first wait activity which is already runned successfully and started from copy activity which is failed.
how to send email whenever a stage fails so that all the users are notified?
For failure alert for each activity an alert can be created in the Azure Data Factory (ADF) Monitor section under the Alerts and Actions option.
For more understanding you can refer this SO Thread by #UtkarshPal-MT
Or else,
You can create a logic app and then configure it with Azure Data factory through that you cand send mail when activity fails you
For more information you can refer this Article by #JEROEN SMANS

Do not send emails to subscribers in the Reporting Configuration. Kentico 9

After creating a subscription in the Reporting Configuration, the emails are not sent at the specified time, but if you perform any actions on the site, the emails will be sent. This is the problem of the virtual machine on which the site or IIS is deployed. Or does the feature Kentico.
Prompt in what there can be a problem and how the system of sending of emails inin the Reporting Configuration works.
This is a correct behavior. Kentico checks for e-mails that are to be sent at the end of requests which means that if there are no requests, no e-mails are sent. If you need some tasks to be send at a specified time, you need to use Windows scheduler and configure task (e-mmail sending) to use it. See official documentation for more detail.s
Another option to Enn's, is to use a service like UpTime Robot to continually visit your page (like every 5 minutes), this not only generates a request but also will help keep your site awake and from going to sleep if you can't manually set the Worker Processor to never go to sleep.
Windows Scheduler is the most reliable, but UpTime robot has worked well for us.
https://uptimerobot.com/
Under the "Scheduled Tasks" module there is a schedule task called "Report subscription sender". This task runs every minute and is responsible for checking your subscriptions and sending e-mails based on your configuration. This task runs within the Kentico instance. By default IIS will put the site/app pool to sleep after x (default 20) minutes of idle and the scheduled tasks are no longer able to run. When you hit the site it wakes the process back up and the scheduled task is able to run again. You can go into IIS and configure the "Idle Time-out (minutes)" for the application pool see this link https://patrickdesjardins.com/blog/iis-no-sleep-idle-and-autostart-with-values for a pretty good illustration. You can also adjust the app pool recycle intervals but that is probably not necessary for your issue.
The other option, as mentioned by Enn, is to install the Kentico Scheduler Windows service which always runs and configure that scheduled task to run in the service.

Biztalk orchestration gets triggered by file adapter ahead of trigger message

We are trying to use the scheduled task adapter for triggering orchestration. Using the code sample linked below the adapter does not wait for the scheduled time to process order files, it processes the orders as soon as they are available. We are using the version 4.0 of the adapter on Biztalk 2010. Any help or sugesstion would be greatly appreciated.
BizTalk Scheduled Task Adapter
https://biztalkscheduledtask.codeplex.com/
BizTalk Server : Scheduling Orchestration using Trigger Message
http://social.technet.microsoft.com/wiki/contents/articles/25101.biztalk-server-scheduling-orchestration-using-trigger-message.aspx
If you are using the File Adapter, it looks like you are getting the expected result as the File Adapter will receive the file as soon as it's available.
With the Scheduled Task Adapter, you have to use the FileStreamProvider to receive the file at the scheduled time.
I'm familiar with the Scheduled Task adapter but if you want that a receive port picks up files during a part of the day => you can use the service window on the receive location.
https://msdn.microsoft.com/en-us/library/aa559260.aspx
Or do you have a different scenario in mind?

How to prevent hudson from sending multiple emails for cron job failures

I have a job in Hudson which monitors the environment.
The requirement is the job should get built periodically and send a mail when the env is down.
But it should stop sending mails if the status of the job in last run is fail and an email has already been sent. How to setup this trigger in Hudson?
First, if you aren't already doing so, you should be using email-ext plugin for sending emails.
Once that is installed, in your post-build actions, use "Editable Email Notification".
In there, click "Advanced..." button to setup triggers that control when (and to whom) and email is sent.
You need at least 2 triggers: Failure and Still Failing.
"Failure" will be triggered when the job fails for the first time. Send the email to everyone whom you want to include.
"Still Failing" will be triggered if there are subsequent failures. In this case, leave the recipient list unchecked (or send only to admin).
You can also use the Fixed trigger. This will send the email after the build recovers from failure (but not on subsequent successes)

MSMQ Trigger on Windows 2003 not firing

I'm having a strange issue with an MSMQ trigger. This is what I've done.
On Windows Server 2003 I've installed MSMQ
I then installed MSMQ triggers
I created a private queue called "TestQueue"
I created the rule as follows:
Name: "TestRule"
Condition: "Message label contains '-'" (All my message labels contain '-')
Invoke standalone exe: "C:\WINDOWS\NOTEPAD.EXE"
I then created a trigger as follows:
Name: "TestTrigger"
User queue: ".\Private$\TestQueue
Peeking and enabled set
Attached the "TestRule" rule
I then have a console application that puts a message on the "TestQueue" (I can see the message on the queue), However the trigger does not start NOTEPAD.exe (I've been monitoring task manager to make sure)
Does anyone know why the trigger would not be firing?
Ended up getting a clean install of Windows 2003 and re-installed MSMQ and it now works.