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
- Host: GitHub
- URL: https://github.com/zhebrak/beatle
- Owner: zhebrak
- License: mit
- Created: 2016-10-16T23:21:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-17T12:05:58.000Z (almost 9 years ago)
- Last Synced: 2025-04-03T13:33:24.794Z (11 months ago)
- Topics: cron, http
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
```