Sha256: c34854578f05d3483cf7536e5ba6918eb2abffa14a8c383c2bb215c46679f5d3
Contents?: true
Size: 401 Bytes
Versions: 54
Compression:
Stored size: 401 Bytes
Contents
class Specinfra::Command::Solaris::Base::Cron < Specinfra::Command::Base::Cron class << self def check_cron_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
54 entries across 54 versions & 1 rubygems