ingoweiss / scheduler
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
Ingo Weiss (author)
Fri Feb 13 07:57:03 -0800 2009
commit 9615cc5a2fd0a14b4b33f6a75b769a7dac6009e8
tree d4538dd325ca0016249d6d29d1d25e9e49252db5
parent 84f62aac94252117ad83dcd71801241f9dde24de
tree d4538dd325ca0016249d6d29d1d25e9e49252db5
parent 84f62aac94252117ad83dcd71801241f9dde24de
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
spec/ | ||
| |
tasks/ | ||
| |
uninstall.rb |
README
= Scheduler 0.0.0
Easy scheduling of recurring tasks for ruby projects
Example:
Scheduler::Cron::Configuration.configure do |cron|
cron.run('do:some:stuff').from(RAILS_ROOT).at_hour(1).at_minute(1)
cron.run('do:more:stuff').from(RAILS_ROOT).on_day_of_week(:mon, :wed).at_hour(5).at_minute(1)
end
Scheduler::Cron::Configuration.write
Scheduler::Cron::Configuration.install
The above will result in the following crontab file being installed:
1 1 * * * cd /path/to/project;`which rake` do:some:stuff
1 5 * * 1,3 cd /path/to/project;`which rake` do:more:stuff
Scheduler is in an early experimental stage and not yet intended for production use. Please contact me if you have
suggestions!
Copyright (c) 2009 Ingo Weiss, released under the MIT license

