A
A
Alexander2021-11-30 16:54:53
PHP
Alexander, 2021-11-30 16:54:53

How to notify users?

There is a Linux server (Not in a domain), nginx + php-fpm on it and a simple admin panel on it.
There is a cluster of servers on Windows in the domain.
Task: call exec from php and send a notification from Linux to a specific server/user like msg in Windows.
I already realized that it would not work out on a regular basis, I am looking for solutions to the problem, what programs can I do?
PS Solution: raise a web server on Windows and accept requests through it - such a thing ... (In terms of fault tolerance)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2021-11-30
@rPman

standard samba console utility
smbclient -M MACHINE_NAME < message.txt

A
Andrey Barbolin, 2021-11-30
@dronmaxman

Try it like this
https://docs.microsoft.com/en-us/powershell/script...
https://docs.microsoft.com/en-us/powershell/module...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question