Execute remote python script via SSH

前端 未结 4 694
不知归路
不知归路 2021-01-31 05:14

I want to execute a Python script on several (15+) remote machine using SSH. After invoking the script/command I need to disconnect ssh session and keep the processes running in

4条回答
  •  忘掉有多难
    2021-01-31 05:36

    On Linux machines, you can run the script with 'at'.

    echo "python scriptname.py" ¦ at now

提交回复
热议问题