GithubHelp home page GithubHelp logo

jjzslsk / hax-woiden-vc-renew-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pzure/hax-woiden-vc-renew-monitor

0.0 0.0 0.0 36 KB

监控hax-woiden-vc三小鸡的过期时间及提醒续期

Python 40.06% Smarty 59.94%

hax-woiden-vc-renew-monitor's Introduction

hax-woiden-vc-renew-monitor

监控系统基于Python3

##食用方法:

  • 填写config.ini配置文件

  • 将需要启用的消息媒介值改为1

  • 注意:当使用tgbot的时候一定要设置chat_ids,填自己的tgid 可以填多个tgid 用逗号隔开

    [options]
    #需要使用的提醒方式将0改为1
    tgbot = 0
    email = 0
    
  • 按文件提示填写消息媒介资料

    [email_info]
    #发件方邮箱
    sender_email = 
    #密码或者key
    sender_password = 
    #收件人信息,多个请用英文逗号隔开
    receiver_email = 
    #smtp服务器,默认是QQ邮箱,如用其他邮箱请自行修改
    smtp_server = 
    #邮件标题(修改即生效)
    subject = VPS即将到期通知
    [tgbot_info]
    #telegram 机器人的key
    tgbot_token = 
    #指定推送的TGchatid,如有多个ID用英文逗号(,)隔开,选择tgbot则此项必填
    chat_ids = 
  • 配置网页端口信息 默认端口8080,访问 ip:8080 修改该项后使用 ip:端口 访问

    [prot]
    #网页运行端口
    port = 8080
    
  • 安装支持包

    #进入到项目目录下执行
    pip3 install -r requirements.txt
  • 启动监控

    #直接启动
    python3 main.py
    #后台运行,记录日志(日志记录在当前目录的bot.log中)
    nohup python3 -u main.py > monitor.log 2>&1 &

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.