Class: Pushapp::Tasks::WheneverUpdate

Inherits:
Base
  • Object
show all
Defined in:
lib/pushapp/tasks/whenever_update.rb

Instance Attribute Summary

Attributes inherited from Base

#logger, #options

Instance Method Summary collapse

Methods inherited from Base

#app_name_from_path, #env, #env_options, #initialize, #inspect, register_as, #sudo, #system

Constructor Details

This class inherits a constructor from Pushapp::Tasks::Base

Instance Method Details

#runObject



7
8
9
# File 'lib/pushapp/tasks/whenever_update.rb', line 7

def run
  system "bundle exec whenever --update-crontab #{whenever_app} --set #{variables}"
end