Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 660 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 660 Bytes

小工具集合

1.百度网盘上传(baidu.py)

python baidu.py file1 file2...

或上传备份

python baidu.py

已添加

MySQL备份上传

定时备份上传:

chmod +x baidu.py
# crontab -e
0 2 * * * /usr/bin/python /path/to/baidu.py
  1. Nginx日志切割脚本示例文件: nginxLogRotate.sh
# vi /etc/crontab或 crontab -e
0 0 * * * root /usr/local/nginx/logs/nginxLogRotate.sh
  1. fake_useragent_0.1.11.json

https://fake-useragent.herokuapp.com/browsers/0.1.11 文件一个备份

常见问题

  1. Max retries exceeded with url: /houtianze/bypy/master/update/update.json
pip install pyopenssl