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 !
It's not strictly a refactoring, but a big gotcha... can you comment?
thanx