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

https://github.com/zhebrak/beatle

Fault-tolerant scheduled HTTP requests
https://github.com/zhebrak/beatle

cron http

Last synced: 6 months ago
JSON representation

Fault-tolerant scheduled HTTP requests

Awesome Lists containing this project

README

          

# beatle

Fault-tolerant HTTP request sender with cron schedule.

#### Configuration

```
[]
URL:
KEY:
```

[Django client](https://github.com/zhebrak/django-beatle/)

#### Start
```bash
# pure
python3 beatle.py --conf="/etc/beatle/default.conf" --node="8000" --cluster="8000 8001 8002" &
python3 beatle.py --conf="/etc/beatle/default.conf" --node="8001" --cluster="8000 8001 8002" &
python3 beatle.py --conf="/etc/beatle/default.conf" --node="8002" --cluster="8000 8001 8002" &

# with docker
docker run --net=host -v /etc/beatle:/conf -id zhebrak/beatle --conf="/conf/default.conf" --node="8000" --cluster="8000 8001 8002"
docker run --net=host -v /etc/beatle:/conf -id zhebrak/beatle --conf="/conf/default.conf" --node="8001" --cluster="8000 8001 8002"
docker run --net=host -v /etc/beatle:/conf -id zhebrak/beatle --conf="/conf/default.conf" --node="8002" --cluster="8000 8001 8002"

```