4057d36ea1505c263efbdbdc0bf511cd

It's not strictly a refactoring, but a big gotcha... can you comment?

thanx

1
2
3
4
5
6
7
8
9
10
11
namespace :cron do
    
  desc "every_minute"
  
  task "every_minute" do
    # GOTCHA! this line has to be specified first !  if you swap them, mail won't be sent from the sender script!
    Bj.submit './script/runner ./jobs/sender.rb', :stdin => ""
    Rake::Task['ultrasphinx:index:delta'].invoke
  end

end

Refactorings

No refactoring yet !

Your refactoring





Format Copy from initial code

or Cancel