Update comments about scheduling
This commit is contained in:
parent
c60a936f99
commit
af534ed0cb
1 changed files with 2 additions and 2 deletions
4
bots.rb
4
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!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue