Hi Laurent Yeah, it could be a little more clear. All you need to do is add 'bundle exec flying-sphinx index' as the task command in Scheduler (which you can open up by running `heroku addons:open scheduler`). You don't need to create a custom rake task for this purpose.
Cheers -- Pat On 08/04/2013, at 7:08 AM, [email protected] wrote: > Because I'm a newbie at FS, Heroku and Rails I am having trouble implementing > the scheduler rake task. > > I build a scheduler.rake in my lib/tasks folder and set up the following: > > desc "This task is called by the Heroku scheduler add-on" > task :index_sphinx => :environment do > puts "Indexing Sphinx db..." > ???flying-sphinx index??? > puts "done." > end > > As you can see we have a problem because I have no idea how to type the > flying-sphinx index command in the task. There's nothing more to add as I'm > totally in the dark. > > I think the phrase "just add flying-sphinx index as the task" in the Heroku > FS doco requires a little background knowledge I still don't have. > > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
