# WeCron **Repository Path**: vip_vip/WeCron ## Basic Information - **Project Name**: WeCron - **Description**: :heavy_check_mark: 微信上的定时提醒 - Cron on WeChat - **Primary Language**: JavaScript - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-02 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # WeCron [](https://github.com/polyrabbit/WeCron/blob/master/LICENSE) [](https://travis-ci.org/polyrabbit/WeCron) [](https://codecov.io/gh/polyrabbit/WeCron) [](https://github.com/polyrabbit/WeCron/pulls) 微信上的定时提醒 - Cron on WeChat
## 本地运行 1. Clone代码 ```bash git clone https://github.com/polyrabbit/WeCron.git ``` 2. 安装依赖包 ```bash cd WeCron pip install -r requirements.txt ``` 3. 初始化数据库 ```bash # 创建数据库 psql -c 'CREATE DATABASE "wecron" WITH OWNER "postgres" TEMPLATE template0 ENCODING="UTF8" CONNECTION LIMIT=-1;' psql -c 'GRANT ALL PRIVILEGES ON DATABASE "wecron" to "postgres";' # 建表 python WeCron/manage.py migrate ``` 4. 启动本地Server ```bash python WeCron/manage.py runserver ``` ### 扫码关注微定时公众号,体验一下吧 ## 关于 * 文档:[WeCron是怎样处理定时任务的 ](http://blog.betacat.io/post/how-wecron-schedules/) * 感谢[@messense](https://github.com/messense)贡献的微信公众平台SDK [wechatpy](http://docs.wechatpy.org)!