--- loncom/cron/loncapa 2002/11/21 19:41:06 1.9 +++ loncom/cron/loncapa 2004/06/17 19:47:33 1.15 @@ -1,9 +1,25 @@ -# re-evaluate lon-capa connections +#################################################################### +# # +# Maintenance tasks for loncapa which are run on a periodic basis. # +# # +#################################################################### + +# Re-evaluate loncapa network connections. 10 5 * * * www /home/httpd/perl/loncron -10 3 * * * www /usr/local/loncapa/bin/CHECKRPMS --cronmail -# Database cleanups -10 1 * * 7 www /home/httpd/perl/searchcat.pl + +# Check whether the RPMS are up-to-date and e-mail the system admins. +# (It is very important to keep a loncapa system running with all applicable +# security patches.) +10 3 * * 1,4,7 www /usr/local/loncapa/bin/CHECKRPMS --cronmail + +# Repopulate and refresh the metadata database used for the search catalog. +10 1 * * 2,4,6 www /home/httpd/perl/searchcat.pl + +# Remove temporary tables from the metadata database. 13 2 * * * www /home/httpd/perl/cleanup_database.pl -# Printspool cleanup -5 1 * * * www /home/httpd/perl/cleanup_prtspool.pl +# Clean up the printing spool and userfile cache +5 1 * * * www /home/httpd/perl/cleanup_file_caches.pl + +# Run the auto enrollment script. +30 1 * * * www /home/httpd/perl/Autoenroll.pl