Sha256: c248b6b5a43a2c59c3c338331d52588406cb7ed0df91bdbc7b0bf05be9b6d290
Contents?: true
Size: 400 Bytes
Versions: 270
Compression:
Stored size: 400 Bytes
Contents
class Specinfra::Command::Solaris::Base::Cron < Specinfra::Command::Base::Cron class << self def check_has_entry(user, entry) entry_escaped = entry.gsub(/\*/, '\\*').gsub(/\[/, '\\[').gsub(/\]/, '\\]') if user.nil? "crontab -l | grep -- #{escape(entry_escaped)}" else "crontab -l #{escape(user)} | grep -- #{escape(entry_escaped)}" end end end end
Version data entries
270 entries across 270 versions & 3 rubygems