Git Product home page Git Product logo

easy-ssl-monitor's Introduction

easy ssl monitor

使用方法 Usage

1.在main.py同级目录下新建domains.txt文件,文件内容为需要查询的域名,每行一个。

Create a new domains.txt file in the same level directory as main.py with the contents of the domains to be queried, one per line.

www.google.com
api.test.tech:1047
example.com

2.将飞书机器人的webhook地址设置到环境变量WEBHOOK,例如

Set the webhook address of the Feishu bot to the environment variable WEBHOOK, for example

echo "export WEBHOOK=<webhook>" | tee -a /etc/profile
source /etc/profile

3.定时任务执行main.py

Crontab task execute main.py

crontab -e

写入以下内容

Write the following content

10 10 * * * /usr/bin/python3 /path/to/main.py

easy-ssl-monitor's People

Watchers

Empathy 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.