Method: Inspec::Resources::Crontab#crontab_cmd
- Defined in:
- lib/resources/crontab.rb
#crontab_cmd ⇒ Object
75 76 77 |
# File 'lib/resources/crontab.rb', line 75 def crontab_cmd @user.nil? ? 'crontab -l' : "crontab -l -u #{@user}" end |