lib/tasks_scheduler/daemon.rb in tasks_scheduler-0.6.13 vs lib/tasks_scheduler/daemon.rb in tasks_scheduler-0.7.0
- old
+ new
@@ -9,10 +9,10 @@
class << self
def daemon_command(action)
raise "Action not allowed: #{action} (Allowed: #{ACTIONS})" unless ACTIONS.include?(action)
::TasksScheduler::AppGem.instance.bundle('exec', 'tasks_scheduler', action)
- .envvar(::TasksScheduler::Checker::LOG_ON_FILE_ENV_KEY, '1')
+ .envvar(::TasksScheduler::Checker::LOG_ON_FILE_ENV_KEY, '1')
end
def execute(action)
command = daemon_command(action)
result = command.execute