Hi All I stop and start Thinking sphinx every 10 min for Reindex. When Thnking sphinx stop user will get error message from rails. Is it possible to reindex with out stop and start Thinking sphinx.
I reindex sphinx by crontab */5 * * * * /var/www/mediawrap/script/re_index.sh >> /var/www/ mediawrap/log/re_index.log 2>&1 call this script (re_index.sh) #!/bin/bash #script to re-index TS PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11 cd /var/www/mediawrap /usr/bin/rake ts:index RAILS_ENV=production /usr/bin/rake ts:stop RAILS_ENV=production /usr/bin/rake ts:start RAILS_ENV=production Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
