Skip to content

raycoding/whenever

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

** NOTE This is patched version of whenever gem v0.3.7, the patch supports mentioning raw crontab time syntax in schedule.rb. If you are on ActiveSupport > 2.3.4, you can instead use the official 0.6.8 version. In my use-case I specifically needed to use raw crontab time syntax in ActiveSupport 2.1.1

Whenever is a Ruby gem that provides a clear syntax for defining cron jobs. It outputs valid cron syntax and can even write your crontab file for you. It is designed to work well with Rails applications and can be deployed with Capistrano. Whenever works fine independently as well.

Official - github.com/javan/whenever Ryan Bates created a great Railscast about Whenever: railscasts.com/episodes/164-cron-in-ruby

Credit

Whenever was created for use at Inkling (inklingmarkets.com) where I work. Their take on it: blog.inklingmarkets.com/2009/02/whenever-easy-way-to-do-cron-jobs-from.html

While building Whenever, I learned a lot by digging through the source code of Capistrano - github.com/jamis/capistrano

Discussion / Feedback / Issues / Bugs

For general discussion and questions, please use the google group: groups.google.com/group/whenever-gem

If you’ve found a genuine bug or issue, please use the Issues section on github: github.com/javan/whenever/issues

License

Copyright © 2009 Javan Makhmali

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Cron jobs in Ruby

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%