Sha256: 2fbb8ce321e336b6aadaae50280b97198294d2b962e278611908eccf3d1b0503

Contents?: true

Size: 286 Bytes

Versions: 9

Compression:

Stored size: 286 Bytes

Contents

class Specinfra::Command::Windows::Base::ScheduledTask < Specinfra::Command::Windows::Base
  def check_exists(name)
    Backend::PowerShell::Command.new do
      using 'find_scheduled_task.ps1'
      exec "(FindScheduledTask -name '#{name}').TaskName -eq '\\#{name}'"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/windows/base/scheduled_task.rb
specinfra-2.0.0.beta14 lib/specinfra/command/windows/base/scheduled_task.rb
specinfra-2.0.0.beta13 lib/specinfra/command/windows/base/scheduled_task.rb
specinfra-2.0.0.beta12 lib/specinfra/command/windows/base/scheduled_task.rb
specinfra-2.0.0.beta11 lib/specinfra/command/windows/base/scheduled_task.rb
specinfra-2.0.0.beta10 lib/specinfra/command/windows/base/scheduled_task.rb
specinfra-2.0.0.beta9 lib/specinfra/command/windows/base/scheduled_task.rb
specinfra-2.0.0.beta8 lib/specinfra/command/windows/base/scheduled_task.rb
specinfra-2.0.0.beta7 lib/specinfra/command/windows/base/scheduled_task.rb