File:
[LON-CAPA] /
loncom /
cron /
loncapa
Revision
1.18:
download - view:
text,
annotated -
select for diffs
Mon Feb 22 15:34:57 2010 UTC (14 years, 5 months ago) by
raeburn
Branches:
MAIN
CVS tags:
HEAD
- Run Autocreate.pl (once nightly, by default) - will only create courses in a domain when:
(a) run on the primary library server in the domain.
(b) if domain configuration has been set to include Automated Course Creation from
/home/httpd/perl/tmp/addcourse/$dom/auto/pending (XML) or from courserequestqueue.db
(official courses requiring validation).
1: ####################################################################
2: # #
3: # Maintenance tasks for loncapa which are run on a periodic basis. #
4: # #
5: ####################################################################
6:
7: # Re-evaluate loncapa network connections.
8: 10 5 * * * www /home/httpd/perl/loncron
9:
10: # Check whether the RPMS are up-to-date and e-mail the system admins.
11: # (It is very important to keep a loncapa system running with all applicable
12: # security patches.)
13: 10 3 * * 1,4,7 root /usr/local/loncapa/bin/CHECKRPMS --cronmail
14:
15: # Repopulate and refresh the metadata database used for the search catalog.
16: 10 1 * * 2,4,6 www /home/httpd/perl/searchcat.pl
17:
18: # Remove temporary tables from the metadata database.
19: 13 2 * * * www /home/httpd/perl/cleanup_database.pl
20:
21: # Clean up the printing spool and userfile cache
22: 5 1 * * * www /home/httpd/perl/cleanup_file_caches.pl
23:
24: # Run the auto enrollment script.
25: 30 1 * * * www /home/httpd/perl/Autoenroll.pl
26:
27: # Run the auto update script to update first name, last name etc. information.
28: 30 3 * * * www /home/httpd/perl/Autoupdate.pl
29:
30: # Run auto create script to create courses in:
31: # (a) /tmp/addcourse/$dom/auto/pending (XML-based course descriptions);
32: # (b) online course requests for official courses queued pending validation
33: # of instructor of record status
34: 30 2 * * * www /home/httpd/perl/Autocreate.pl
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>