Sha256: 8ef5b7b94f6b20a589450ba4bd0b356e9b022b91b8a6fd945f10cfa194d09981
Contents?: true
Size: 882 Bytes
Versions: 1
Compression:
Stored size: 882 Bytes
Contents
# Whenever Web ## Installation Add this line to your application's Gemfile: gem 'whenever-web' And then execute: $ bundle ## Usage Mount the engine in your `routes.rb`: ```ruby MyApp::Application.routes.draw do # ... mount Whenever::Web, at: '/whenever' # ... end ``` And go to `/whenever`. You can add a link to the panel in your views: ```ruby = link_to 'Cron Jobs', whenever_path ``` You can also optionally describe the Cron jobs in `schedule.rb`: ``` require 'whenever/web' every 1.day, at: '3:00 am' do desc 'Database Backup' rake 'db:backup' end ``` ## Contributing 1. Fork it (http://github.com/bartoszkopinski/whenever-web/fork) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whenever-web-0.0.4 | README.md |