Class: MultiScheduler::Whenever

Inherits:
Schedule
  • Object
show all
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

#initialize

Constructor Details

This class inherits a constructor from MultiScheduler::Schedule

Instance Method Details

#startObject



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

#stopObject



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