Permalink
Browse files

PA-259 Run indexing after scraping but before emailing (the emails ma…

…y drive traffic to the site and people may start using searches)
  • Loading branch information...
1 parent 03aca3e commit fb050374ec8643b74552240e9680a5cef2092aee @henare henare committed Mar 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tasks/planningalerts.rake
@@ -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|

0 comments on commit fb05037

Please sign in to comment.