Sha256: a299b1326308fd387d103a1775ebc4d13a5a2a1e3fd65252b6c260ad789ec2fd
Contents?: true
Size: 635 Bytes
Versions: 22
Compression:
Stored size: 635 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
22 entries across 22 versions & 1 rubygems