Available CRON Scripts
Overview
The following scripts are available for inclusion as a system CRON job. To set the timing and frequency of a CRON job requires access to the server cPanel and thus must the accomplished by the system administrator. Through the Admin CRON Jobs dropdown menu any script can be run at any time.
There are six scripts available to use. Some may be appropriate to run on site launch, others may not.
- Create Sitemap - This script is used to create Sitemap files that is used by BOT crawlers1 as a means to better understand the website structure. The generated files are placed in a sitemaps folder on the server for the BOTs to use. This script is generally set to run once a month. No report is generated.
- Image Count - This script provides a total count of all .jpg file types in the images directory and a count of those image files that are over 1,000,000 Kb in size. This script is generally run once a week. A report is emailed to the designated recipient
- Large Images - This script provides a total list of all .jpg file types in the images directory that are over 1,000,000 Kb in size. This script is generally run once a week.
- Missing Credits - This script searches the records in the memorials database table that contain images but lacks a credit for the source of the image(s). This script is generally run once a week.
- Missing GPS - This script collects all records in the memorials database table that have a tombstone image but lacks GPS coordinates. Each tombstone image found is checked to determine if the image contains GPS coordinates. If GPS information is found in the tombstone image the record's GPS fields are updated with the coordinates. A report listing all records with updated GPS information is created and emailed to the designated recipient.
Thus, it is most beneficial to ensure that individuals taking tombstone photos use a camera/smart phone that captures the GPS coordinates when the photo is taken.
This script is generally ran once a week. The weekly report includes all cemeteries but the script can also be run locally for a single cemetery. - Missing Images - This script searches all records in the memorials database table, in cemetery order, to locate all records that have an image listed in the record but the image cannot be found in the cem_images directory. A report listing records with a missing image is generated and emailed to the designated recipient. This report is generally run once a week.
1. What is a web crawler bot? A web crawler, spider, or search engine bot downloads and indexes content from all over the Internet. The goal of such a bot is to learn what (almost) every webpage on the web is about, so that the information can be retrieved when it's needed. Source: Google.
No Comments