Skip to content

leesf/weather-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Weather-Service

weather-service为一个天气提醒器,每天定时爬取深圳的天气并通过QQ 邮箱微信发送提醒。

如何使用 How to Use

  • clonedonwload到本地后导入到ideaeclipse中。
  • 使用maven命令进行打包(可直接点击ideaLifecycle进行打包)。
  • 打包后上传至Linux,编写crontab命令执行启动脚本。
  • 直接修改resources/constant.property文件,设置发送者邮箱、发送人、收件人、重试次数等。将会在下次爬取时生效。

待完成 To Do List

  • 可添加微信提醒接口
  • 可添加短信提醒接口。
  • 未来七天天气情况。
  • constant.property中配置地区而非url
  • 添加其他邮箱发送,如google163等。

微信提醒接口说明

  • 微信提醒接口使用Server酱完成,其链接为 Server酱。登录后将SCKEY复制到resources/constant.property中的weixin_receiver_keys中即可,多个提醒人使用,分隔,最后关注Server酱的微信服务号即可,下次就会自动提醒。

说明链接 Description Link

项目说明链接如下

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published