Hi Thibaut
It doesn't check it because I never thought to - but you're right, it
would be a smart idea. Another thing to add to the list :)
--
Pat
On 30/01/2009, at 10:30 PM, Thibaut Barrère wrote:
>
> Hi,
>
> I was just wondering: is the rake ts:index task not checking exit code
> of system('indexer') on purpose or not ? (see
> http://github.com/freelancing-god/thinking-sphinx/blob/6702c7c22234062a45664b47d23b486683914b59/lib/thinking_sphinx/tasks.rb#L70)
>
> I'm asking this because it took me quite a bit of time to understand
> why ts:index didn't do anything when called from a cron task in one of
> my production environments. Actually the indexer executable was not in
> the path inside the cron environment (while it was on the command
> line).
>
> I finally used this quick patch http://gist.github.com/55108 to figure
> things out.
>
> Are the tasks not checking system() output code on purpose ?
>
> thanks!
>
> -- Thibaut
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---