Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 940 Bytes

readme.md

File metadata and controls

34 lines (28 loc) · 940 Bytes

maicai.ddxq.tools

Checker.sh

描述
每隔一段时间检查今天是否有可配送时段,有则推送到手机

MacOS+iOS使用

手机请安装Bark推送工具

# 在MacOS终端运行如下命令
brew install curl
brew install jq
# 修改checker.sh内容,填充cURL和BarkID
bash checker.sh

CentOS 服务器+iOS使用

yum install screen
yum install jq
wget https://raw.githubusercontent.com/6r6/maicai.ddxq.tools/main/checker.sh
# 修改checker.sh内容,将抓包获得的项目、BarkID填充至对应位置
# BarkID在安装应用、注册设备后获得 示例:https://api.day.app/这里是BarkID/
# 挂载后台运行,避免会话关闭任务停止
screen -S shopping 
bash checker.sh
# 查看后台会话
screen -r shopping