File:  [LON-CAPA] / loncom / cron / loncapa
Revision 1.17: download - view: text, annotated - select for diffs
Mon Jun 4 14:24:57 2007 UTC (16 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_99_0, version_2_8_X, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, bz6209-base, bz6209, bz5969, bz2851, HEAD, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox
Run Autoupdate.pl nightly. Controlled by domain configuration.  Needs customization of localenroll.pm stub routines - allusers_info() and get_userinfo() - to retrieve user data (name, ID, email) from institutional data source.

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

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

# 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

# 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

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

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