[LON-CAPA-cvs] cvs: loncom /cron loncapa doc/loncapafiles loncapafiles.lpml
matthew
lon-capa-cvs@mail.lon-capa.org
Thu, 21 Nov 2002 19:41:07 -0000
matthew Thu Nov 21 14:41:07 2002 EDT
Modified files:
/doc/loncapafiles loncapafiles.lpml
/loncom/cron loncapa
Log:
Addition of cleanup_prtspool.pl to cron.
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.189 doc/loncapafiles/loncapafiles.lpml:1.190
--- doc/loncapafiles/loncapafiles.lpml:1.189 Thu Nov 14 16:36:23 2002
+++ doc/loncapafiles/loncapafiles.lpml Thu Nov 21 14:41:06 2002
@@ -3,7 +3,7 @@
<!-- loncapafiles.lpml -->
<!-- Scott Harrison -->
-<!-- $Id: loncapafiles.lpml,v 1.189 2002/11/14 21:36:23 bowersj2 Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.190 2002/11/21 19:41:06 matthew Exp $ -->
<!--
@@ -1102,6 +1102,15 @@
<categoryname>script</categoryname>
<description>
Batch script for removing temporary tables from the SQL metadata database.
+</description>
+</file>
+<file>
+<source>loncom/misc/cleanup_prtspool.pl</source>
+<target dist='default'>home/httpd/perl/cleanup_prtspool.pl</target>
+<categoryname>script</categoryname>
+<description>
+Batch script for removing files not accessed within 24 hours from the
+/home/httpd/prtspool directory.
</description>
</file>
<file>
Index: loncom/cron/loncapa
diff -u loncom/cron/loncapa:1.8 loncom/cron/loncapa:1.9
--- loncom/cron/loncapa:1.8 Mon Sep 9 11:06:23 2002
+++ loncom/cron/loncapa Thu Nov 21 14:41:06 2002
@@ -1,6 +1,9 @@
# re-evaluate lon-capa connections
10 5 * * * www /home/httpd/perl/loncron
10 3 * * * www /usr/local/loncapa/bin/CHECKRPMS --cronmail
+# Database cleanups
10 1 * * 7 www /home/httpd/perl/searchcat.pl
13 2 * * * www /home/httpd/perl/cleanup_database.pl
+# Printspool cleanup
+5 1 * * * www /home/httpd/perl/cleanup_prtspool.pl