mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 03:41:41 +00:00
Oops, 30 is a multiple of fifteen.
This commit is contained in:
parent
38de860670
commit
786b0f3d06
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module Agents
|
|||
if (spec = options['schedule']).present?
|
||||
begin
|
||||
cron = Rufus::Scheduler::CronLine.new(spec)
|
||||
unless second_precision_enabled || (cron.seconds - [0, 15, 45, 60]).empty?
|
||||
unless second_precision_enabled || (cron.seconds - [0, 15, 30, 45, 60]).empty?
|
||||
errors.add(:base, "second precision schedule is not allowed in this service")
|
||||
end
|
||||
rescue ArgumentError
|
||||
|
|
Loading…
Add table
Reference in a new issue