# 自动健康上报 **Repository Path**: jawide/ahr ## Basic Information - **Project Name**: 自动健康上报 - **Description**: 使用python+requests实现的一个批量自动健康上报脚本 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-30 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 自动健康上报 ## 介绍 使用python+requests+linux shell实现的一个批量自动健康上报系统 本程序完全适用于ubuntu操作系统,其他的发行版本的linux系统应该也没问题 ## 软件架构 | 目录 | 描述 | | ---- | ---- | | [etc](etc) | 配置文件目录 | | [etc/ahr.sh](etc/ahr.sh) | 配置文件 | | [etc/users.json](etc/users.json) | 用户名密码 | | [log](log) | 日志文件目录 | | [script](script) | 程序脚本目录 | | [script/getval.sh](script/getval.sh) | 读取配置文件脚本 | | [script/healty.py](script/healty.py) | 体温上报脚本 | | [script/rand_temp.sh](script/rand_temp.sh) | 随机体温脚本 | | [tmp](tmp) | 临时文件 | | [install.sh](install.sh) | 安装脚本 | | [README.md](README.md) | 程序说明文件 | | [update.sh](update.sh) | 配置更新脚本 | ## 安装教程 cd到项目文件夹下,注意!!!一定要cd到项目文件夹下,然后 执行命令 ```source install.sh``` 进入配置文件夹etc下修改ahr.sh和users.json这两个配置文件 ## 使用说明 本程序将会修改 ```~/.bashrc```文件 和```crontab```定时任务中的内容 ## 解决办法 关于ubuntu上crontab的日志文件 [https://www.cnblogs.com/nieqibest/p/9353927.html](https://www.cnblogs.com/nieqibest/p/9353927.html)