Schedules Tasks - wvulibraries/mfcs GitHub Wiki
The following scheduled tasks are recommended. WVU Libraries crontab -l is provided for reference:
- Update ClamAV virus definitions
- database backups
- We have 2 mysql backup tasks. 1 creates the backup of the database.
- the second archives the backup. Our archive script keeps 1 month of daily backups of the database.
- Process files -- creates transformations/derivatives of archival files
- we run this script 3 times concurrently.
- Unique ID check. This is a system sanity check that shuts down MFCS if multiple IDNOs are found.
*/30 * * * * rm -f /tmp/magpie_cache/*
0 2 * * * /usr/local/bin/mysqlNightlyBackups.sh
0 5 * * * /usr/local/bin/sqlBackup.sh /mysql/backups /mysql/backups/archives/
0 3 * * * /bin/bash /home/mfcs.lib.wvu.edu/scripts/processFilesCron.sh
15 3 * * * /bin/bash /home/mfcs.lib.wvu.edu/scripts/processFilesCron.sh
30 3 * * * /bin/bash /home/mfcs.lib.wvu.edu/scripts/processFilesCron.sh
*/5 * * * * /bin/bash /home/mfcs.lib.wvu.edu/scripts/uniqueCheck.sh