I solved it this way:

*/5 * * * * /srv/gitorious/script/task_sphinx_index

task_sphinx_index is this script I wrote:

  #!/bin/sh

  cd /srv/gitorious

  export PATH=/usr/local/bin:$PATH
  export RAILS_ENV=production

  rake ultrasphinx:index
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" 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/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to