File:  [LON-CAPA] / loncom / cron / loncapa
Revision 1.21: download - view: text, annotated - select for diffs
Sat Feb 2 00:22:55 2013 UTC (9 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, HEAD
- Utilities to checksum LON-CAPA modules to verify integrity of
  LON-CAPA installation, and also to check the availibility of new
  LON-CAPA releases.

####################################################################
#                                                                  #
# Maintenance tasks for loncapa which are run on a periodic basis. #
#                                                                  #
####################################################################

# Re-evaluate loncapa network connections.
10 5 * * *    www    /home/httpd/perl/loncron

# Retrieve checksums for loncapa modules from DNS for numbered release
# and compare with installed modules
10 4 * * *    www    /home/httpd/perl/checkforupdates.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    root    /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

# Refresh the nohist_courseids.db table used for fast look-ups of course 
# information
50 2 * * *     www  /home/httpd/perl/refresh_courseids_db.pl

# Clean up the printing spool and userfile cache
5 1 * * *    www    /home/httpd/perl/cleanup_file_caches.pl

# Run the auto update script to update first name, last name etc. information.
30 3 * * *    www    /home/httpd/perl/Autoupdate.pl

# Run auto create script to create courses in:
# (a) /tmp/addcourse/$dom/auto/pending (XML-based course descriptions);
# (b) online course requests for official courses queued pending validation
#     of instructor of record status
30 2 * * *    www /home/httpd/perl/Autocreate.pl

# Run the auto enrollment script.
30 1 * * *    www    /home/httpd/perl/Autoenroll.pl



FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>