[LON-CAPA-cvs] cvs: loncom /cron loncapa
raeburn
lon-capa-cvs@mail.lon-capa.org
Tue, 13 Feb 2007 20:56:00 -0000
raeburn Tue Feb 13 15:56:00 2007 EDT
Modified files:
/loncom/cron loncapa
Log:
CHECKRPMS needs to be run as root for up2date to work for RHEL.
Index: loncom/cron/loncapa
diff -u loncom/cron/loncapa:1.15 loncom/cron/loncapa:1.16
--- loncom/cron/loncapa:1.15 Thu Jun 17 15:47:33 2004
+++ loncom/cron/loncapa Tue Feb 13 15:56:00 2007
@@ -10,7 +10,7 @@
# Check whether the RPMS are up-to-date and e-mail the system admins.
# (It is very important to keep a loncapa system running with all applicable
# security patches.)
-10 3 * * 1,4,7 www /usr/local/loncapa/bin/CHECKRPMS --cronmail
+10 3 * * 1,4,7 root /usr/local/loncapa/bin/CHECKRPMS --cronmail
# Repopulate and refresh the metadata database used for the search catalog.
10 1 * * 2,4,6 www /home/httpd/perl/searchcat.pl