Blog

Our News/Articles/Opinions/Technotes from the world of HCL Digital Solutions

Redirect multiple Domino commands to text files?

I find that multiple times as a Domino Administrator we find out something interesting, use it a couple of times and then don’t have a use case again for it for multiple years, so we need to re-discover this information all over again.

This happened to me this week. I’d reason to need to run multiple different Domino console commands concurrently at a few different scheduled times over a weekend. Of course I could have “just” created multiple program documents running at the same time. But to be honest – the number of commands ran to over a hundred and this sounded and looked a bit clunky to me.

So I’d to re-discover something I’d kind of forgotten how to, but was somewhere at the back of brain.

Using nserver – c to pipe something from a program document to a text file, like the screenshot below directly from the data directory

Or even like this with an absolute path

(running program name “server” in linux should potentially work similarly).

With a textfile that could look something like this:

Of course there are many individual commands that you can pipe filenames to a text file individually anyway, but this does give even more flexibility.

Be aware this is potentially powerful (and by extension potentially dangerous!) but last weekend it proved useful to me and I thought I would share so you can potentially re-discover you knew this already (or find out for the first time)!

Cormac McCarthy – Domino People Ltd

This image has an empty alt attribute; its file name is image.png

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>