Annotation of loncom/html/adm/help/tex/Domain_Crontab_Entries.tex, revision 1.1
1.1 ! raeburn 1: \label{Domain_Crontab_Entries}
! 2: \begin{document}
! 3: When LON-CAPA is installed a file named loncapa is written to /etc/cron.d.
! 4: The frequency and timing of execution of scripts included in this
! 5: loncapa crontab file can be modified to suit the needs of your domain.
! 6: The scripts, which are all run as the user 'www', are as follows:
! 7:
! 8: \begin{itemize}
! 9: \item /home/httpd/perl/loncron run daily at 5.10 am This updates the list
! 10: of servers in the LON-CAPA cluster to which your domain belongs. All
! 11: servers in this list should be contactable, and will have the ability
! 12: to host user sessions for users in the domain, as well as being available,
! 13: if designated as library servers, to return responses to remote searches
! 14: for files housed there which have been contributed to the LON-CAPA
! 15: content repository. Connections to all servers are re-evaluated by
! 16: loncron in case some machines had become unavailable within the last
! 17: 24 hours, and had therefore been flagged as temporarily offline.
! 18: \item /usr/local/loncapa/bin/CHECKRPMS runs every other day at 3.10 am This
! 19: file automates the process of checking for available updates to LON-CAPA
! 20: systems. The distprobe script, installed as a part of LON-CAPA, is
! 21: used to determine the Linux distribution installed on the server,
! 22: which in turn dictates which utitlity (yum, up2date, you or rug) is
! 23: called to perform the package check.
! 24: \item /home/httpd/perl/searchcat.pl run every other day at 1.10 am /home/httpd/perl/searchcat.pl
! 25: This script goes through a loncapa resource directory and gathers
! 26: metadata. The metadata is entered into a SQL database. Repopulate
! 27: and refresh the metadata database used for the search catalog.
! 28: \item /home/httpd/perl/cleanup\_database.pl run daily at 2.13 am cleanup\_database.pl
! 29: drops tables from the LON-CAPA MySQL database if their comment is
! 30: 'temporary' and they have not been modified in a given time (defalt
! 31: is 2 days).
! 32: \item /home/httpd/perl/cleanup\_file\_caches.pl run daily at 1.05 am Remove
! 33: temporary files from the LON-CAPA print spool, the multidownload zip
! 34: spool, and userfiles cache.
! 35: \item /home/httpd/perl/Autoenroll.pl run daily at 1.30 am Run the auto enrollment
! 36: script.
! 37: \item (/home/httpd/perl/Autoupdate.pl run daily at 3.30 pm Run the auto
! 38: update script to update first name, last name etc. information.
! 39: \end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>