Class: MultiScheduler::Whenever
- Defined in:
- lib/multi_scheduler/schedule/whenever.rb
Instance Attribute Summary
Attributes inherited from Schedule
#command, #command_arguments, #identifier
Instance Method Summary collapse
Methods inherited from Schedule
Constructor Details
This class inherits a constructor from MultiScheduler::Schedule
Instance Method Details
#start ⇒ Object
7 8 9 10 |
# File 'lib/multi_scheduler/schedule/whenever.rb', line 7 def start raise 'Not yet implemented on this operating system' ::Whenever::CommandLine.execute block: mount_schedule, write: true, identifier: @identifier end |
#stop ⇒ Object
12 13 14 15 |
# File 'lib/multi_scheduler/schedule/whenever.rb', line 12 def stop raise 'Not yet implemented on this operating system' ::Whenever::CommandLine.execute block: mount_schedule, clear: true, identifier: @identifier end |