Skip to content
Browse files

Add: Whenever 加入定时发送邀请回答的检测任务

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

0 comments on commit 5e9c892

Please sign in to comment.
Something went wrong with that request. Please try again.