From windows, scheduled tasks run linux scripts. The purpose of writing this example is to record this method. I haven't thought of a simple method yet! Periodically or manually execute linux scripts in windows. -------------------------------------------------------------------- Download putty. I am using a green version and the installation version should be okay. Check the following configuration to know www.2cto.com. First, configure putty 1.exe to open putty.exe and configure the IP address to connect to the server, 2. Click defalut settings, click save 3, click connection> SSH on the left, configure the action to be executed, and click savein Step 2 in Step 4. Close putty.exe and open again to check whether the configuration exists. 5. Create 123 in the same directory of putty.exe. bat file with the following content: putty.exe-pw <password> <user >@< remote ip> example: putty.exe-pw 123456 root@192.168.0.11 www.2cto.com 6, in order to make this batch of files can be executed on other computers, you need to export a registry information, otherwise, the putty configuration information will be lost after it is moved to another computer. Open the CMD command line, for example, --- Note: This Export command is also found in the community, and the specific link cannot be found, thank you !!! 7. The puttybak.regfile is the detailed configuration file of putty.exe. If it is executed on another computer, double-click the puttybak button for the first execution. reg file, export the configuration to the registry, and double-click 123. the bat batch processing file can run 192.168.0.11 server/home/gg/tttt. sh file. Of course, the premise is that the current connected user has the execution permission !!!!