Skip to content

Commit

Permalink
PA-259 Run indexing after scraping but before emailing (the emails ma…
Browse files Browse the repository at this point in the history
…y drive traffic to the site and people may start using searches)
  • Loading branch information
henare committed Mar 10, 2011
1 parent 03aca3e commit fb05037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/planningalerts.rake
Expand Up @@ -7,8 +7,8 @@ namespace :planningalerts do
end

namespace :applications do
desc "Scrape new applications, send emails and generate XML sitemap"
task :scrape_and_email => [:scrape, :email, :sitemap]
desc "Scrape new applications, index them, send emails and generate XML sitemap"
task :scrape_and_email => [:scrape, 'ts:in', :email, :sitemap]

desc "Scrape all the applications for the last few days for all the loaded authorities"
task :scrape, :authority_short_name, :needs => :environment do |t, args|
Expand Down

0 comments on commit fb05037

Please sign in to comment.