Tiny readme change

This commit is contained in:
Damien 2010-05-29 20:40:24 +08:00 committed by Javan Makhmali
parent 8a84433a5f
commit b0ce52fa55

View File

@ -80,7 +80,9 @@ You can define custom job types in your schedule file:
rails3_runner "MyModel.do_something_amazing" rails3_runner "MyModel.do_something_amazing"
end end
This would create a job with the command "bundle exec rails runner". By defining jobs like this, you can also make reusable system commands such as: This would create a job with the command "bundle exec rails runner".
By defining jobs like this, you can also make reusable system commands such as:
job_type :my_great_command do |job| job_type :my_great_command do |job|
job.environment = false # this stops whenever appending '-e production' to the task job.environment = false # this stops whenever appending '-e production' to the task