Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/polyrabbit/wecron

:heavy_check_mark: 微信上的定时提醒 - Cron on WeChat
https://github.com/polyrabbit/wecron

angular cron crontab ionic nlp postgresql python timer wechat weixin

Last synced: 3 days ago
JSON representation

:heavy_check_mark: 微信上的定时提醒 - Cron on WeChat

Awesome Lists containing this project

README

        

# WeCron

[![license](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/polyrabbit/WeCron/blob/master/LICENSE)
[![Build Status](https://github.com/polyrabbit/WeCron/actions/workflows/deploy.yml/badge.svg)](https://github.com/polyrabbit/WeCron/actions)
[![codecov](https://codecov.io/gh/polyrabbit/WeCron/branch/master/graph/badge.svg)](https://codecov.io/gh/polyrabbit/WeCron)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](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是怎样处理定时任务的](https://blog.betacat.io/post/how-wecron-schedules/)
* 感谢[@messense](https://github.com/messense)贡献的微信公众平台SDK [wechatpy](http://docs.wechatpy.org)!
* WeCron开始于2015年,一直稳定运行着,并将持续维护下去(因为我个人也是重度用户)