Posts

Showing posts with the label report

Web server information from the web.

Image
Wondered if there was a way to get information about a web server from the web. After researching, I found an abandoned article with a script that fit the bill. From a few lines, the script has expanded quite nicely. The script is becoming more and more popular. You can get more information at: http://www.instructables.com/id/Simple-linux-commands-from-a-web-page/ Reprint from an earlier post that applies. One of the things I get dismayed with is when going to the bookmarks and a link is dead. Also too, If I have several web servers I like to access, it would be nice to know if the site is up before I try to go to that site. Here we will use a small amount of PHP (another web language) that can be used with HTML just like javascript. Generally PHP is used only on servers, but you can run a local copy of it. PHP is available for most systems. Bookmarks really do not carry that much information per se. The above example only has one entry for sake of simplicity. What I would rea...

Web server information from the web.

Image
Wondered if there was a way to get information about a web server from the web. After researching, I found an abandoned article with a script that fit the bill. From a few lines, the script has expanded quite nicely. The script is becoming more and more popular. You can get more information at: http://www.instructables.com/id/Simple-linux-commands-from-a-web-page/ Reprint from an earlier post that applies. One of the things I get dismayed with is when going to the bookmarks and a link is dead. Also too, If I have several web servers I like to access, it would be nice to know if the site is up before I try to go to that site. Here we will use a small amount of PHP (another web language) that can be used with HTML just like javascript. Generally PHP is used only on servers, but you can run a local copy of it. PHP is available for most systems. Bookmarks really do not carry that much information per se. The above example only has one entry for sake of simplicity. W...

The weather.

Image
A while back I had developed a way to download weather maps and then convert them to ascii for use on text only terminal or character lcd’s Made a modification or two in some of the code. As you remember we modified the crontab file so the system would download radar images once a minute. Crontab: Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use ‘*’ in these fields (for ‘any’).# # Notice that tasks will be started based on the cron’s system # daemon’s notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of al...