Class: Hookit::Resource::Cron
- Defined in:
- lib/hookit/resource/cron.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name) ⇒ Cron
constructor
A new instance of Cron.
Methods inherited from Execute
Methods inherited from Base
#action, actions, #can_run?, default_action, #default_action, field, #not_if, #only_if, #run
Constructor Details
#initialize(name) ⇒ Cron
Returns a new instance of Cron.
5 6 7 8 9 |
# File 'lib/hookit/resource/cron.rb', line 5 def initialize(name) super timeout 60 cwd '/data' end |