lib/pigeon/engine.rb
def periodically_trigger_task(task_name = nil, interval = 1, &block)
    periodically(interval) do
      trigger_task(task_name, &block)
    end
  end
# Used to periodically execute a task or block. When giving a task name,
# a method by that name is called, otherwise a block must be supplied.
# An interval can be specified in seconds, or will default to 1.
Used to periodically execute a task or block. When giving a task name,
a method by that name is called, otherwise a block must be supplied.
An interval can be specified in seconds, or will default to 1.
Used to periodically execute a task or block . When giving a task name a method by that name is called otherwise a block must be supplied . An interval can be specified in seconds or will default to 1 .
def periodically_trigger_task(task_name = nil, interval = 1, &block)
    periodically(interval) do
      trigger_task(task_name, &block)
    end
  end
def periodically_trigger_task ( task_name = nil , interval = 1 , & block ) periodically ( interval ) do trigger_task ( task_name , & block ) end end
Used to periodically execute a task or block.
Used to periodically execute a task or block .
task_name
interval
block