01-06-2022 01:20 AM
Hi there,
I know that we can receive notifications for Pipelines that run on Scheduled Tasks for a number of statuses such as started, stopped, failed and completed.
How can we do the same for a pipeline that fails or stops whilst running on a Consumer Snap where the Message Count is -1?
Solved! Go to Solution.
01-06-2022 06:53 AM
@NAI - you can set up a scheduled task to run on an interval - however long you want your longest downtime. Then simply set the task so it doesn’t run if an instance is already running. That way you get notified if the job stops for any reason and it will automatically restart on the next interval.
You may also want to look into Ultra Tasks (premium feature).
01-06-2022 03:54 AM
Run it as a task. That functionality is associated with a task.
01-06-2022 04:07 AM
Hello,
We can’t use a task for this specific pipeline as it’s constantly consuming messages from a queue.
Is there an alternative means of doing this? We had an instance where the Snaplex lost connection which it prompted the pipeline to stop and the only way we discovered was through internal comms…
01-06-2022 06:53 AM
@NAI - you can set up a scheduled task to run on an interval - however long you want your longest downtime. Then simply set the task so it doesn’t run if an instance is already running. That way you get notified if the job stops for any reason and it will automatically restart on the next interval.
You may also want to look into Ultra Tasks (premium feature).
01-10-2022 05:32 AM
Hi Kory,
Thanks for your response. This looks like a viable workaround.
I wanted to check with you first whether the message below on the old version of article, How to Schedule a Task, is still valid?
“A three month limit is placed on Do not start a new execution if one is already active . A second instance of that pipeline will be able to be executed at that time.”