lib/tasks/umlaut.rake in umlaut-3.0.0alpha3 vs lib/tasks/umlaut.rake in umlaut-3.0.0alpha4
- old
+ new
@@ -1,6 +1,5 @@
-
namespace :umlaut do
desc "Perform nightly maintenance. Set up in cron."
task :nightly_maintenance => [:load_sfx_urls, :expire_sessions, :expire_old_data]
@@ -42,10 +41,10 @@
SfxUrl.delete_all
hosts.each {|h| SfxUrl.new({:url => h}).save! unless ignore_urls.find {|ignore| ignore === h }}
end
else
- puts "Skipping load of SFXURLs via direct access to SFX db. No direct access is configured. Configure in config/umlaut_config/database.yml"
+ puts "Skipping load of SFXURLs via direct access to SFX db. No direct access is configured. Configure in config/database.yml sfx_db"
end
end
desc "Expire sessions older than config.app_config.session_expire_seconds"
task :expire_sessions => :environment do