Class: OpenWFE::EveryJob
- Defined in:
- lib/openwfe/util/scheduler.rb
Overview
An ‘every’ job is simply an extension of an ‘at’ job.
Instance Attribute Summary
Attributes inherited from AtJob
Attributes inherited from Job
#block, #job_id, #params, #scheduler, #tags
Instance Method Summary collapse
-
#schedule_info ⇒ Object
Returns the frequency string used to schedule this EveryJob, like for example “3d” or “1M10d3h”.
Methods inherited from AtJob
Methods inherited from Job
#has_tag?, #initialize, #unschedule
Constructor Details
This class inherits a constructor from OpenWFE::AtJob
Instance Method Details
#schedule_info ⇒ Object
Returns the frequency string used to schedule this EveryJob, like for example “3d” or “1M10d3h”.
1008 1009 1010 1011 |
# File 'lib/openwfe/util/scheduler.rb', line 1008 def schedule_info @params[:every] end |