Thursday, February 18, 2021

SnTT - How to Stop a Domino Task/App using a Program Document

Here is something that I had no idea about.

In fact, I even opened an aha request to solve this.

Luckily someone else looked deeper into it than I did and found the answer.

I asked around but no one had an answer so here we go.

We all know we can create Program Documents to run tasks, but do you know how to stop the tasks?

A client had a 3rd party application that we had some issues with recently.

While waiting to get a fix or better understanding of the problem, we wanted to only run the tool during certain business hours to prevent the server from crashing as it had been doing every night around midnight.

But I could not figure out how to create a Program Document to stop the process.

Turns out Mike, one of their developers, had the same thoughts but being a developer had some ideas I did not think about. He gets all the credit, but we all get the benefit.

Turns out you want to enter the details as shown::

Maybe if the app/task has switches built-in, you can use them, like q, -q but in this case, we didn't have these options. 

Not everything in life has to be so difficult, nor requires a large blog post.









No comments:

Post a Comment