File:  [LON-CAPA] / loncom / html / adm / help / tex / Domain_Crontab_Entries.tex
Revision 1.4: download - view: text, annotated - select for diffs
Tue Jul 29 18:56:08 2008 UTC (15 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, 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_99_1, version_2_10_0_RC2, version_2_10_0_RC1, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox
- Fix label.

\label{Domain_Crontab_Entries}
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 \emph{/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 \emph{/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 utility (yum, up2date, you
or rug) is called to perform the package check.
\item \emph{/home/httpd/perl/searchcat.pl} run every other day at 1.10 am
traverses the LON-CAPA resource directory in a domain and gathers
metadata which are entered into a SQL database. The script will repopulate
and refresh the metadata database used for the searching the resource
catalog. The script also refreshes and repopulates database tables
used to store metadata for publicly accessible portfolio files, and
user information needed for user searches in a LON-CAPA domain. 
\item \emph{/home/httpd/perl/cleanup\_database.pl} run daily at 2.13 am
drops tables from the LON-CAPA MySQL database if their comment is
'temporary' and they have not been modified in a given time (default
is 2 days).
\item \emph{/home/httpd/perl/cleanup\_file\_caches.pl} run daily at 1.05
am removes temporary files from the LON-CAPA print spool, the multidownload
zip spool, and userfiles cache.
\item \emph{/home/httpd/perl/Autoenroll.pl} run daily at 1.30 am updates
classlists for any LON-CAPA courses for which auto-enrollment is active,
if enabled in the domain. A conduit needs to have been established
to institutional course roster information. 
\item \emph{/home/httpd/perl/Autoupdate.pl} run daily at 3.30 am can reconcile
first name, last name etc. information stored in LON-CAPA with authoritative
data available from an institutional directory. A conduit needs to
have been established to the institutional data source. 
\end{itemize}


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