--- loncom/html/adm/help/tex/Domain_Crontab_Entries.tex 2013/12/04 17:52:02 1.7 +++ loncom/html/adm/help/tex/Domain_Crontab_Entries.tex 2016/08/20 17:48:11 1.9 @@ -2,7 +2,7 @@ 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: +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 updates @@ -15,12 +15,22 @@ to the LON-CAPA content repository. Conn 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{/home/httpd/perl/checkforupdates.pl} run daily at 4.10 am +retrieves checksums/versions for LON-CAPA perl modules and perl script +files for the version of LON-CAPA on your server, from the authoritative +server(s) in the LON-CAPA cluster to which your domain belongs. If +discrepancies are found (version and/or checksum) for installed files, +or if files are missing, or extra (now obsolete) files are present this will +be recorded in a log file, and also sent in an e-mail to recipients specified +for the domain. The availability of a newer release of LON-CAPA on +the install site -- \emph{http://install.loncapa.org/} -- will also be checked, +and notification will be icluded in the e-mail if LON-CAPA should be updated. \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. +rug, apt-get or zypper) 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 @@ -30,7 +40,7 @@ used to store metadata for publicly acce 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 +`temporary' and they have not been modified in a given time (default is 2 days). \item \emph{/home/httpd/perl/refresh\_courseids\_db.pl} run daily at 2.50 am refreshes the database file (stored on a library server) queried when a