Annotation of loncom/html/adm/help/tex/Domain_Crontab_Entries.tex, revision 1.9

1.4       raeburn     1: \label{Domain_Crontab_Entries}
1.1       raeburn     2: When LON-CAPA is installed a file named loncapa is written to /etc/cron.d.
                      3: The frequency and timing of execution of scripts included in this
                      4: loncapa crontab file can be modified to suit the needs of your domain.
1.9     ! raeburn     5: The scripts, which are all run as the user `www', are as follows: 
1.1       raeburn     6: 
                      7: \begin{itemize}
1.7       bisitz      8: \item \emph{/home/httpd/perl/loncron} run daily at 5.10 am updates
1.2       raeburn     9: the list of servers in the LON-CAPA cluster to which your domain belongs.
                     10: All servers in this list should be contactable, and will have the
                     11: ability to host user sessions for users in the domain, as well as
                     12: being available, if designated as library servers, to return responses
                     13: to remote searches for files housed there which have been contributed
                     14: to the LON-CAPA content repository. Connections to all servers are
                     15: re-evaluated by loncron, in case some machines had become unavailable
                     16: within the last 24 hours, and had therefore been flagged as temporarily
                     17: offline.
1.8       raeburn    18: \item \emph{/home/httpd/perl/checkforupdates.pl} run daily at 4.10 am 
                     19: retrieves checksums/versions for LON-CAPA perl modules and perl script
                     20: files for the version of LON-CAPA on your server, from the authoritative
                     21: server(s) in the LON-CAPA cluster to which your domain belongs. If 
                     22: discrepancies are found (version and/or checksum) for installed files,
                     23: or if files are missing, or extra (now obsolete) files are present this will
                     24: be recorded in a log file, and also sent in an e-mail to recipients specified 
                     25: for the domain.  The availability of a newer release of LON-CAPA on
                     26: the install site -- \emph{http://install.loncapa.org/} -- will also be checked,
                     27: and notification will be icluded in the e-mail if LON-CAPA should be updated. 
1.2       raeburn    28: \item \emph{/usr/local/loncapa/bin/CHECKRPMS} runs every other day at 3.10
                     29: am. This file automates the process of checking for available updates
                     30: to LON-CAPA systems. The distprobe script, installed as a part of
                     31: LON-CAPA, is used to determine the Linux distribution installed on
                     32: the server, which in turn dictates which utility (yum, up2date, you
1.8       raeburn    33: rug, apt-get or zypper) is called to perform the package check.
1.2       raeburn    34: \item \emph{/home/httpd/perl/searchcat.pl} run every other day at 1.10 am
1.3       raeburn    35: traverses the LON-CAPA resource directory in a domain and gathers
                     36: metadata which are entered into a SQL database. The script will repopulate
                     37: and refresh the metadata database used for the searching the resource
                     38: catalog. The script also refreshes and repopulates database tables
                     39: used to store metadata for publicly accessible portfolio files, and
                     40: user information needed for user searches in a LON-CAPA domain. 
1.2       raeburn    41: \item \emph{/home/httpd/perl/cleanup\_database.pl} run daily at 2.13 am
1.1       raeburn    42: drops tables from the LON-CAPA MySQL database if their comment is
1.9     ! raeburn    43: `temporary' and they have not been modified in a given time (default
1.1       raeburn    44: is 2 days).
1.6       raeburn    45: \item \emph{/home/httpd/perl/refresh\_courseids\_db.pl} run daily at 2.50 am 
1.5       raeburn    46: refreshes the database file (stored on a library server) queried when a 
1.7       bisitz     47: fast lookup is needed for information about courses housed on the server.
                     48: Course information includes the minimum LON-CAPA version needed to support
                     49:  the resources and/or settings used in the course.
1.2       raeburn    50: \item \emph{/home/httpd/perl/cleanup\_file\_caches.pl} run daily at 1.05
                     51: am removes temporary files from the LON-CAPA print spool, the multidownload
                     52: zip spool, and userfiles cache.
                     53: \item \emph{/home/httpd/perl/Autoenroll.pl} run daily at 1.30 am updates
                     54: classlists for any LON-CAPA courses for which auto-enrollment is active,
                     55: if enabled in the domain. A conduit needs to have been established
                     56: to institutional course roster information. 
                     57: \item \emph{/home/httpd/perl/Autoupdate.pl} run daily at 3.30 am can reconcile
                     58: first name, last name etc. information stored in LON-CAPA with authoritative
                     59: data available from an institutional directory. A conduit needs to
1.5       raeburn    60: have been established to the institutional data source.
                     61: \item \emph{/home/httpd/perl/Autocreate.pl} run daily at 2.30 am, checks for requests for creation of official courses, queued pending validation of instructor of record status.  Also creates any pending course requests made
                     62: using legacy web forms which store XML-based course descriptions in a ``pending'' directory.
                     63: 
1.1       raeburn    64: \end{itemize}
1.3       raeburn    65: 

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