Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bogeyman76/checkinternet
Python script that checks for internet connectivity
https://github.com/bogeyman76/checkinternet
Last synced: 12 days ago
JSON representation
Python script that checks for internet connectivity
- Host: GitHub
- URL: https://github.com/bogeyman76/checkinternet
- Owner: bogeyman76
- License: cc0-1.0
- Created: 2023-01-04T19:16:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T19:33:19.000Z (about 2 years ago)
- Last Synced: 2024-11-13T00:31:52.445Z (2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# checkInternet
This Python script checks and waits for internet connectivity.This script is useful for cron jobs or scripts that are ran on boot in linux via rc.local etc.
Is is particularly useful when run before MQTT connections that are able to reconnect on their own once the network device is up and running on the host.To use just invoke the class with a declaration such as internet=checkInternet()