Hi,
I am using thinking sphinx on a shared server. I tried to set up Cron
Job with the following command:
rake thinking_sphinx:stop RAILS_ENV=production;rake
thinking_sphinx:index RAILS_ENV=production;rake thinking_sphinx:start
RAILS_ENV=production
The above command works in development. But it doesn’t work in
production when being set up as Cron Job for user account on a shared
server. Interestingly enough, when I try to run the command via putty
session with a designated port, say port 40000, the command works. Do
you think this is a port issue in searchd Cron?
searchd
{
address = 127.0.0.1
port = 3312
log =
/home/maestrouser/public_html/maestro/releases/20080912202939/log/searchd.log
query_log =
/home/maestrouser/public_html/maestro/releases/20080912202939/log/searchd.query.log
read_timeout = 5
max_children = 30
pid_file =
/home/maestrouser/public_html/maestro/releases/20080912202939/log/searchd.production.pid
max_matches = 1000
}