Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1 KB

README.md

File metadata and controls

40 lines (25 loc) · 1 KB

Welcome to weamail 👋

Version

Weather mail, 每日天气邮件提醒。

weamail 将会在每日 0:10 向发件人发送天气提醒邮件,具体的时间可以修改 crontab 文件。

Install

npm install
crontab crontab

Usage

修改 config.js 中的数据项。

  1. 前往 heweather.com 获取 API Key,填写在 config.js > auth > key
  2. 修改 config.js 中的邮件授权信息。
  3. 修改 config.js 中的发送邮件配置,可以配置多个发件对象。城市代码可在 https://dev.heweather.com/docs/refer/city 获取。

Log

日志见此目录下的 crontab.log

Author

👤 baitieyi@163.com

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator