From af534ed0cbe0cb00f06d23dbcb4712efa325cfd9 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 18 May 2015 19:01:34 -0700 Subject: [PATCH] Update comments about scheduling --- bots.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots.rb b/bots.rb index f23a060..c6b7aac 100644 --- a/bots.rb +++ b/bots.rb @@ -37,12 +37,12 @@ class ERWEbooksBot < Ebooks::Bot @model_path ||= "model/#{original}.model" @archive_path ||= "model/#{original}.json" - # Post a tweet every hour + # Post a tweet every two hours scheduler.every '2h' do tweet(model.make_statement) end - # Every day at 5am update the corpus + # Update the corpus every day scheduler.every '24h', :first => :now do archive! load_model!