GithubHelp home page GithubHelp logo

glados_ql's Introduction

什么是青龙面板 青龙面板支持python3、javaScript、shell、typescript 的定时任务管理面板(A timed task management panel that supports typescript, javaScript, python3, and shell.)

修改脚本

什么是serve酱? 「Server酱」,英文名「ServerChan」,是一款「手机」和「服务器」、「智能设备」之间的通信软件。 说人话?就是从服务器、路由器等设备上推消息到手机的工具。

sckeycookie 后面填写 serve酱的 sckey(不需要可以跳过)和 账号 cookie

在这里插入图片描述

获取serve酱的 sckey

serve酱官网:https://sct.ftqq.com/

获取账号 cookie

打开“开发者工具”,通常快捷键为F12,或是点击浏览器选项-更多工具-开发者工具,打开后如图所示点击 “网络” (未进行汉化的话是:network)标签

上传脚本

方法1:直接上传脚本

在这里插入图片描述

可通过 ftp 工具直接找到青龙面板安装位置,在 scripts 目录中新增自己的目录,所以直接把签到脚本文件放根目录也可以。

青龙面板可能会根据你所使用的命令存放目录,所以每个人都不一样,我的 docker 安装目录为:/etc/systemd/docker/ ,而青龙面板则存放在 docker 的子目录中。

方法2:新建脚本

在青龙面板中找到 “脚本管理”

在这里插入图片描述

从面板右侧点击 ”+“ 按钮

在这里插入图片描述

根据自己的实际情况填写脚本信息,用到的是 Python 所以,文件最后是 .py

在这里插入图片描述

添加签到任务

在青龙面板中找到定时任务

在这里插入图片描述

从面板右侧点击 ”新建任务“

在这里插入图片描述

按照上面创建的文件的名称和路径设置任务命令

在这里插入图片描述

时间规则为:秒 分 时 天 月 周,如:0 9 * * * ,意思是每天09:00执行该脚本。

测试效果

点击任务后面的 ”运行“ 按钮进行手动执行一次

在这里插入图片描述

点击任务后面的 ”日志“ 按钮查看运行日志

在这里插入图片描述

见到下面日志,说明成功签到,并且获得了1天奖励时间。

在这里插入图片描述

到此,GLaDOS自动签到就部署成功了。

glados_ql's People

Contributors

obear997 avatar

Stargazers

Jash Yin avatar  avatar

Watchers

 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.