Project

croner

0.0
No commit activity in last 3 years
No release in over 3 years
An plugin that manage cron jobs each applications and servers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 3.2.22
 Project Readme

Croner

An plugin that manage cron jobs each applications and servers.

Read this in other languages: 日本語

Installation

Add this line to your application's Gemfile:

gem 'croner'

And then execute:

$ bundle

And then run initial settings:

$ rails g croner:install

Configure

Edit the /config/initializers/croner.rb file and customize following settings.

enable_backup

Settings that save backup file.

backup_path

Backup file's path.

keep_backups

Num of keep backup files.

Usage

Make config/croner/hosts/[hostname] and run task croner:update.

Capistrano integration

In your config/deploy.rb or Capfile file:

require "croner/capistrano"

And if you want to change role, append your config/deploy.rb file:

croner_roles %w(web db)

License

The gem is available as open source under the terms of the MIT License.

Author

ykogure