Weather mail, 每日天气邮件提醒。
weamail 将会在每日 0:10 向发件人发送天气提醒邮件,具体的时间可以修改 crontab 文件。
npm install
crontab crontab
修改 config.js
中的数据项。
- 前往 heweather.com 获取 API Key,填写在
config.js > auth > key
。 - 修改
config.js
中的邮件授权信息。 - 修改
config.js
中的发送邮件配置,可以配置多个发件对象。城市代码可在 https://dev.heweather.com/docs/refer/city 获取。
日志见此目录下的 crontab.log
。
- Github: @windring
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator