Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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()