The most direct way is probably to install an ssh server in a window window. Cygwin includes an ssh server.
Depending on how accurate your time needs are, you may have the βatβ task in the window window that runs periodically (every 5 minutes?) And runs if it sees that a particular file exists by deleting the file. Then you can use Samba / smbclient to create the file. To do this, you will need to enable file storage in the window window.
If there is a web server in the window, you can write CGI and run it using wget or cURL .
Glomek
source share