E
E
Eugene2020-11-25 16:20:39
System administration
Eugene, 2020-11-25 16:20:39

Is it possible to send a notification to a user under a certain condition?

Colleagues, good afternoon!

I am interested in the implementation of sending a notification to a user through windows if he has, for example, more than 3 1C sessions open. Is it possible? And what resources? Give direction please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2020-11-25
@MAD-Kuzia

Sending a message - msg vasya_pupkin did you eat your fish soup? (net send for older OS versions)
Search for the number of running instances of the application (as I understand it, it is exactly what you need, and not the number of RDP sessions that can be easily limited in the settings) through the tasklist with filters for the application name and a specific user. Getting a list of users - you can take it from a predefined file, you can get it dynamically (depending on whether you use an AD domain or not).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question