Class: OpenWFE::EveryJob

Inherits:
AtJob show all
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

#at

Attributes inherited from Job

#block, #job_id, #params, #scheduler, #tags

Instance Method Summary collapse

Methods inherited from AtJob

#initialize, #trigger

Methods inherited from Job

#has_tag?, #initialize, #unschedule

Constructor Details

This class inherits a constructor from OpenWFE::AtJob

Instance Method Details

#schedule_infoObject

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