Coder Social home page Coder Social logo

serv00_auto_script's Introduction

Serv00 - 自动续期脚本,Fork自bg8ixz/bg8ixz/Serv00_auto_script

当前脚本

脚本名称 用途 备注
Auto_connect_SSH.py 自动SSH登录以续期
alist_freebsd_update.py 自动从uubulb/alist-freebsd拉取最新版本更新
Auto_connect_SSH-WeCom.py 企业微信推送方式 需要企业微信机器人Webhook Key
Auto_connect_SSH-TG.py TG推送方式 需要BOT_TOKEN和CHAT_ID
Auto_connect_SSH-PushPLus.py 推送方式 需要PushPlus Token

自动续期脚本说明

说明

  bg8ixz/Serv00_auto_script基于LINUX DO论坛佬友maohai脚本进行修改,在其基础上增加了发送通知、以及运行日志功能。本项目基于bg8ixz/Serv00_auto_script的脚本增加tg和pushplus推送方式,并通过sh脚本设置变量

发送说明

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

使用方法

  

  进入domains目录并执行一键脚本:

cd domains
curl -O https://raw.githubusercontent.com/curry-he/Serv00_auto_script/master/Serv00-Renew.sh && chmod +x Serv00-Renew.sh && ./Serv00-Renew.sh

参考设置图

参考图片

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

curry-he avatar 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.