omnibot 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/omnibot/periodiccommand.rb +4 -9
- data/lib/omnibot/version.rb +1 -1
- metadata +3 -3
@@ -28,15 +28,10 @@ module OmniBot
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def start
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
now = Time.now
|
36
|
-
next_report_time = Time.local(now.year, now.month, now.day+1, 1, 0, 0)
|
37
|
-
next_report_time = next_report_time + @pause
|
38
|
-
@timer_provider.add_timer(next_report_time - now) { on_first_timer }
|
39
|
-
end
|
31
|
+
now = Time.now
|
32
|
+
next_report_time = Time.local(now.year, now.month, now.day+1, 1, 0, 0)
|
33
|
+
next_report_time = next_report_time + @pause
|
34
|
+
@timer_provider.add_timer(next_report_time - now) { on_first_timer }
|
40
35
|
end
|
41
36
|
|
42
37
|
def set_jabber_messenger &block
|
data/lib/omnibot/version.rb
CHANGED
metadata
CHANGED