Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Commit

Permalink
Add: 重建推荐信息的缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Apr 21, 2011
1 parent 7781cc2 commit 0820efa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/schedule.rb
Expand Up @@ -22,3 +22,7 @@
every 1.day, :at => "2:00 am" do every 1.day, :at => "2:00 am" do
command "cd /home/jason/wwwroot/quora/ && sh backup_mongodb" command "cd /home/jason/wwwroot/quora/ && sh backup_mongodb"
end end

every 5.hours do
rake "suggest_items:refresh"
end

0 comments on commit 0820efa

Please sign in to comment.