[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Domain_Crontab_Entries.tex
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 22 Jul 2008 12:50:54 -0000
raeburn Tue Jul 22 08:50:54 2008 EDT
Added files:
/loncom/html/adm/help/tex Domain_Crontab_Entries.tex
Log:
- Information for DCs about regularly scheduled LON-CAPA cron jobs.
Index: loncom/html/adm/help/tex/Domain_Crontab_Entries.tex
+++ loncom/html/adm/help/tex/Domain_Crontab_Entries.tex
\label{Domain_Crontab_Entries}
\begin{document}
When LON-CAPA is installed a file named loncapa is written to /etc/cron.d.
The frequency and timing of execution of scripts included in this
loncapa crontab file can be modified to suit the needs of your domain.
The scripts, which are all run as the user 'www', are as follows:
\begin{itemize}
\item /home/httpd/perl/loncron run daily at 5.10 am This updates the list
of servers in the LON-CAPA cluster to which your domain belongs. All
servers in this list should be contactable, and will have the ability
to host user sessions for users in the domain, as well as being available,
if designated as library servers, to return responses to remote searches
for files housed there which have been contributed to the LON-CAPA
content repository. Connections to all servers are re-evaluated by
loncron in case some machines had become unavailable within the last
24 hours, and had therefore been flagged as temporarily offline.
\item /usr/local/loncapa/bin/CHECKRPMS runs every other day at 3.10 am This
file automates the process of checking for available updates to LON-CAPA
systems. The distprobe script, installed as a part of LON-CAPA, is
used to determine the Linux distribution installed on the server,
which in turn dictates which utitlity (yum, up2date, you or rug) is
called to perform the package check.
\item /home/httpd/perl/searchcat.pl run every other day at 1.10 am /home/httpd/perl/searchcat.pl
This script goes through a loncapa resource directory and gathers
metadata. The metadata is entered into a SQL database. Repopulate
and refresh the metadata database used for the search catalog.
\item /home/httpd/perl/cleanup\_database.pl run daily at 2.13 am cleanup\_database.pl
drops tables from the LON-CAPA MySQL database if their comment is
'temporary' and they have not been modified in a given time (defalt
is 2 days).
\item /home/httpd/perl/cleanup\_file\_caches.pl run daily at 1.05 am Remove
temporary files from the LON-CAPA print spool, the multidownload zip
spool, and userfiles cache.
\item /home/httpd/perl/Autoenroll.pl run daily at 1.30 am Run the auto enrollment
script.
\item (/home/httpd/perl/Autoupdate.pl run daily at 3.30 pm Run the auto
update script to update first name, last name etc. information.
\end{itemize}