GithubHelp home page GithubHelp logo

wwangyu2 / serv00_auto_script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bg8ixz/serv00_auto_script

0.0 0.0 0.0 14 KB

Serv00 - 免费主机自动续期(自动SSH以及PM2)及其他脚本。

Python 100.00%

serv00_auto_script's Introduction

Serv00 - 免费主机脚本集合(大水库)

当前脚本

脚本名称 用途 备注
Auto_connect_SSH.py 自动SSH登录以续期
alist_freebsd_update.py 自动从uubulb/alist-freebsd拉取最新版本更新

自动续期脚本说明

说明

  本项目基于LINUX DO论坛佬友maohai脚本进行修改,在其基础上增加了发送通知、以及运行日志功能。

发送说明

主机状态/设置条件 说明 发送内容 执行动作
200 正常 不发送
502 机子凉了 服务不可用 通过SSH执行PM2命令
[Errno 1] Address family for hostname not supported 解析凉了 解析失败
自定义日期 固定日启动连接 每月固定SSH连接提醒 连接SSH

使用方法

  将脚本放到domains目录下,使用chmod +x Auto_connect_SSH.pyAuto_connect_SSH.py添加可执行权限。

  在Serv00控制台的定时任务里面新建一个定时任务,命令如下:

/home/你的用户名/domains/Auto_connect_SSH.py

参考设置图

参考图片

Alist自动更新脚本说明

  将脚本放到domains目录下你的 Alist 存储路径中,使用chmod +x alist_freebsd_update.pyalist_freebsd_update.py添加可执行权限。   然后自己到控制台创建一个定时任务。

运行效果图

没有Alist文件 已经是最新版 正常更新

参考来源

名称 来源 地址
Saika Github https://github.com/k0baya
Eric Lee Github https://github.com/giturass
maohai LINUX DO https://linux.do/t/topic/66483/15

serv00_auto_script's People

Contributors

bg8ixz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.