Crono integration for Capistrano
Capistrano 3.*
Add this line to your application's Gemfile:
gem 'capistrano-crono', group: :development
And then execute:
$ bundle
Add the following to your Capfile
# Capfile
require 'capistrano/crono'
Configurable options, with defaults:
# deploy.rb
set :crono_piddir, -> { File.join(shared_path, 'tmp', 'pids') }
set :crono_env, -> { fetch(:rack_env, fetch(:rails_env, fetch(:stage))) }
set :crono_log, -> { File.join(shared_path, 'log', 'crono.log') }
set :crono_role, -> { :app }
Feel free to create issues
Please see LICENSE for licensing details.