From 92522c6251fd91eac09036b1102f181d876a9e4b Mon Sep 17 00:00:00 2001 From: "Mr. Ronald" Date: Fri, 10 Dec 2021 14:07:13 +0100 Subject: [PATCH] Update README.md update default job_type :runner from lib/whenever/setup.rb --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed210700..336ef29c 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ The default job types that ship with Whenever are defined like so: ```ruby job_type :command, ":task :output" job_type :rake, "cd :path && :environment_variable=:environment bundle exec rake :task --silent :output" -job_type :runner, "cd :path && bin/rails runner -e :environment ':task' :output" +job_type :runner, "cd :path && :bundle_command :runner_command -e :environment ':task' :output" job_type :script, "cd :path && :environment_variable=:environment bundle exec script/:task :output" ```