Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felipeagger/task-scheduler-py
Python Task scheduler using Huey with Redis
https://github.com/felipeagger/task-scheduler-py
Last synced: 11 days ago
JSON representation
Python Task scheduler using Huey with Redis
- Host: GitHub
- URL: https://github.com/felipeagger/task-scheduler-py
- Owner: felipeagger
- License: bsd-2-clause
- Created: 2020-10-24T12:44:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-24T13:01:39.000Z (about 4 years ago)
- Last Synced: 2024-10-15T22:41:04.902Z (about 1 month ago)
- Language: Python
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# task-scheduler-py
Python Task scheduler using Huey with Redis# Endereços
No Navegador acesse:
Fazer uma request usando Task Distribuida = http://127.0.0.1:8088/task
Agendar uma Task para 5s = http://127.0.0.1:8088/schedule
Fazer uma request com retry caso falhe = http://0.0.0.0:8088/retry
periodic_task agendada para executar a cada 1 minuto.
# Subir a Aplicacao com Docker:
Acesse a raiz do repositorio e rode:
```
make docker
# oudocker run -d --name task-scheduler -e REDIS_HOST=localhost -p 8088:8088 felipeagger/task-scheduler-huey:latest
```Parar a Aplicacao:
```
make dockerdown
```# Links/Observações
Para Utilizar Docker é necessario ter instalado:
```
Docker: https://www.docker.com/Docker-Compose: https://docs.docker.com/compose/
```# Referencias
https://huey.readthedocs.io/en/latest/api.html