Class: Whenever::Job::RakeTask
- Defined in:
- lib/job_types/rake_task.rb
Instance Attribute Summary
Attributes inherited from Default
#at, #cron_log, #no_stderr_redirect, #task
Instance Method Summary collapse
Methods inherited from Default
Constructor Details
This class inherits a constructor from Whenever::Job::Default
Instance Method Details
#output ⇒ Object
5 6 7 8 |
# File 'lib/job_types/rake_task.rb', line 5 def output path_required "cd #{@path} && RAILS_ENV=#{@environment} /usr/bin/env rake #{task}" end |