packages: phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec, phorum-mo...
glen
glen at pld-linux.org
Tue Jun 15 06:22:06 CEST 2010
Author: glen Date: Tue Jun 15 04:22:06 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- add sample crontab
---- Files affected:
packages/phorum-mod-sphinx_search:
phorum-mod-sphinx_search.spec (1.8 -> 1.9) , crontab (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec
diff -u packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec:1.8 packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec:1.9
--- packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec:1.8 Tue Jun 15 06:20:43 2010
+++ packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec Tue Jun 15 06:22:01 2010
@@ -12,6 +12,7 @@
# Source0-md5: fd6bafce5d77c1baf90bf5f5e157bfb8
Source1: sph_counter.sql
Source2: sphinx.conf
+Source3: crontab
Patch0: paths.patch
Patch1: errors.patch
Patch2: index_names.patch
@@ -48,6 +49,7 @@
mv %{module}/* .
cp -a %{SOURCE1} .
cp -a %{SOURCE2} .
+cp -a %{SOURCE3} .
%undos *.php *.txt README Changelog
%patch0 -p1
%patch1 -p1
@@ -71,7 +73,7 @@
%files
%defattr(644,root,root,755)
-%doc README Changelog sphinx.conf sph_counter.sql
+%doc README Changelog sphinx.conf sph_counter.sql crontab
%dir %{moduledir}
%{moduledir}/*.php
%{moduledir}/info.txt
@@ -82,6 +84,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2010/06/15 04:22:01 glen
+- add sample crontab
+
Revision 1.8 2010/06/15 04:20:43 glen
- readme updates
================================================================
Index: packages/phorum-mod-sphinx_search/crontab
diff -u /dev/null packages/phorum-mod-sphinx_search/crontab:1.1
--- /dev/null Tue Jun 15 06:22:06 2010
+++ packages/phorum-mod-sphinx_search/crontab Tue Jun 15 06:22:01 2010
@@ -0,0 +1,11 @@
+MAILTO=glen at delfi.ee
+
+# Run nightly. Be sure that they do not run at same time.
+12 03 * * * sphinx indexer --config /etc/sphinx/sphinx.conf --rotate --quiet phorum5_msg
+22 03 * * * sphinx indexer --config /etc/sphinx/sphinx.conf --rotate --quiet phorum5_author
+
+# Run after every 10 minutes
+*/10 * * * * sphinx indexer --config /etc/sphinx/sphinx.conf --rotate --quiet phorum5_msg_d
+*/10 * * * * sphinx indexer --config /etc/sphinx/sphinx.conf --rotate --quiet phorum5_author_d
+
+# vim:ts=3:sw=3:et
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list