Sha256: fa03efcbf455b49c8088f3ab8d3c3b10b725551e2d11dfc026a5a0453e1a1996
Contents?: true
Size: 643 Bytes
Versions: 2
Compression:
Stored size: 643 Bytes
Contents
## whenever.rb # # Adds whenever/capistrano specific variables and tasks namespace :load do task :defaults do # Whenever will update the crontab only if one of the # server roles matches the following list set :whenever_roles, [:app] # Set default jobs and log set :whenever_variables, -> { { job_template: "bash -lc ':job'", output: "#{shared_path}/log/whenever-out.log" } .map{|k,v| "#{k}=\\\"#{v}\\\""}.join("&").prepend("\"") << "\"" } end end namespace :negroku do namespace :whenever do define_logs(:whenever, { out: 'whenever-out.log' }) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
negroku-2.0.0.pre3 | lib/negroku/tasks/whenever.rake |
negroku-2.0.0.pre2 | lib/negroku/tasks/whenever.rake |