This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add: 重建推荐信息的缓存

  • Loading branch information...
huacnlee committed Apr 21, 2011
1 parent 7781cc2 commit 0820efab7d495aaefdd77d64727fd67947365181
Showing with 4 additions and 0 deletions.
  1. +4 −0 config/schedule.rb
View
@@ -22,3 +22,7 @@
every 1.day, :at => "2:00 am" do
command "cd /home/jason/wwwroot/quora/ && sh backup_mongodb"
end
+
+every 5.hours do
+ rake "suggest_items:refresh"
+end

0 comments on commit 0820efa

Please sign in to comment.