Library file | Function | Sections | Content | help file |
---|---|---|---|---|
bmtNetwork | bmtNetworkFunc | 301-302 | Network | bmtNetwork.md |
Section Three, Network
- 301 Check if a website is up
- 302 Weather forecast
Sub-Sections
- Check website up uses netcat utility
Keyword checknet, first option url of website. Returns 0 for connectivity , 2 for no connectivity
- Param1 The URL
- Param2 NOMES(optional) can be used to surpress verbose output.
bmtNetworkFunc checknet "www.google.ie"
bmtNetworkFunc checknet "www.google.ie" "NOMES"
- weather
Weather report by wttr.in, uses wget utility
- Param1 Type a City name, airport code, domain name or area code:-
- Param2 format 1-4
bmtNetworkFunc weather Dublin 4