
| Check the Entire Upload Log |
Logzilla view the script that runs these logs | Logzilla Program Change-Log |
| Script Name |
Frequency |
Description |
| jrliii-web-mirror |
1 x Day |
This is the main BASH script
that runs the mirror. Basicly the script uses a few extra options
with the wget command, and creates the mirror in JRL-III's "user"s
/public_html area on my server. It only creates a mirror of
things that are linked from the main "index.html", or a link of a
link(spider crawl web search style) from the original index.html
page. Non-linked items residing on the JRL-III's server are
not mirrored. Once the mirror is set-up & working (which it
is), I put this script in my servers /etc/cron.daily. So this
script will be run daily. My servers daily cron jobs start
running around 04:40 am CST (there are many now, so sometimes it takes
a while to finish them all, sometimes) . When the script is run
now, it downloads any newly added material, and deletes any material
(locally on my server) that has been removed. The script then
matches the existing files I have with JRL-III's existing files.
Any changes in the date stamp (meaning a modification has occured), and
that file is downloaded. The script also keeps a log of the daily
activity for me. Note: there is an open-source version of wget for M$ windows. With a little of this, or perhaps a little of that, you could make this work on a M$ windows machine with a web server. |
| jrliii-mirror-log-recycler |
1 x Month |
since I have instructed the
above to script to log its every action, it produces a large log
file. Even though the download activity might be low, the log
activity is high because every file is checked & verified
daily. So, to keep the log file from getting out of hand, and
bogging my server, I will move (append) to to *.old each month.
This file moves the current log to *.old, and produces a new blank
template for new the new months logs to come. |
| blank.log |
n/a |
This
is the blank log template
used in the above monthly log recycler script. This script was
developed awhile back, for use with all my mirrors. As you will
see below, I view these logs on my web server. So, since I
recycle(remove) the logs from time to time, I added this blank so their
would always be a file on the web server (and not a dead link, until
the mirror log is run & added again). |
| logs-to-http |
1 x Hour |
I like to check my server from
time to time to make sure the mirrors I run are all working when they
should be. This script was developed to make my *.mirror.logs
viewable from my main web-server. I like this because I can check
from anywhere, and the owners of the sites I mirror can check easily
too. There is no way to know when all my mirroring (logging) will
be done each day, so I have this script run each hour updating the logs
on the website. This script also keeps a log for me each time it
is run. Since this existed already for my mirrors, I added in the
specs for jrliii.mine.nu. Click Here To View the logs, including the logs for this site |
| logs-to-http-uptime-updater |
1 x Day |
This one doesn't really apply
too much to jtliii.mine.nu, but is a small part of the above script
logs-to-http. I like to show my machines uptime status in my
logs. Since logs-to-http is run every hour, this was to many
uptime entries. This script adds the current uptime once per day
to the logs-to-http log. |
| logs-to-http-log-recycler |
1 x Month |
Again, this one also doesn't
really apply too much to jtliii.mine.nu, but is a small part of the
above script logs-to-http. This script moves the logs-to-http log
to *.old |
