Command Line Scripts - wvulibraries/mfcs GitHub Wiki

checksum_insertCurrentFiles.php : This file only needs to be run once on systems that already have digital assets in the system. On new installations this script should never be needed.

checksum_NewFiles.php : generates a checksum for all files uploaded since the last time it was ran. This should be run nightly.

checksum_recheck.php : rechecks all files that failed their last checksum. This could be scheduled, but could also be run "as needed" ... it should only have to be run after a failed checksum file has been replaced from backup.

checksum_verify.php : periodic checksum check. should be run at least once a week.

processFiles.php : runs the transformations to generate the derivatives as defined in forms.

remove_abandoned_upload_dirs.php : cleans up the upload directories

system_information_filetypes.php : updates the file types that have been uploaded to the system. Should be run nightly.

system_information_freespace.php : checks HDD space on the server in the archives directory. Nagios, or something else, should be used in production.

uniqueIDCheck.php : sanity check for the system. Should be run frequently (every 5 minutes or less).

updateDupeTable.php : use on an "as needed" basis. This clears out the duplicate checking table and reinserts everything. This should be needed very rarely.

virus_scan.php : runs the virus scan on all files that haven't yet been checked.