![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
centos
小帆97
通信工程
展开
-
上传文件到服务器paramiko
将本地指定路径下的文件上传到服务器指定目录 # -*- coding: UTF-8 -*- #!/usr/bin/python ''' 注意name_lst中的steam账号cookie文件的名称要与账号相对应 ''' import paramiko import os name_lst = [ # 'BuffSearch.py', # ...原创 2020-01-03 23:59:48 · 151 阅读 · 0 评论 -
centos Error downloading packages: deltarpm-3.6-3.el7.x86_64
# yum install nano Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package nano.x86_64 0:2.3.1-10.el...原创 2019-07-17 02:54:59 · 2982 阅读 · 3 评论 -
centos 定时执行脚本
1.安装crontab #yum install crontabs 2.编辑定时任务: #crontab -e 3.路径要写绝对路径 * * * * * python /home/xxx.py ###每分钟执行一次 #5 * * * * python /home/xxx.py ###每小时05分时执行一次 4.重启服务 #service crond restart ...原创 2019-09-13 13:48:32 · 566 阅读 · 0 评论