This is a whenever plugin for mina
Add this line to your application's Gemfile:
gem 'mina-whenever'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mina-whenever
in deploy.rb
require 'mina/whenever'
task deploy: :environment do
deploy do
...
on :launch do
invoke :'whenever:update'
end
end
end
These are the settings you can set:
set :whenever_name # default: "#{domain}_#{rails_env}"
Bug reports and pull requests are welcome on GitHub at https://github.com/mina-deploy/mina-whenever. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.