This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 1dca2168d17bdeb0f05e091c8145d38e29463f10
tree 7263516f7745dba39968fc45175745f1013d044d
parent 220a4efb620f11de574f5734dbe952f2f56f0b6c
tree 7263516f7745dba39968fc45175745f1013d044d
parent 220a4efb620f11de574f5734dbe952f2f56f0b6c
| name | age | message | |
|---|---|---|---|
| |
CHANGELOG.txt | ||
| |
CREDITS.txt | ||
| |
LICENSE.txt | Mon Mar 31 21:21:43 -0700 2008 | |
| |
README.txt | ||
| |
Rakefile | ||
| |
lib/ | ||
| |
test/ |
README.txt
= rufus-scheduler
This gem was formerly known as 'openwferu-scheduler'. It has been repackaged as 'rufus-scheduler'. Old 'require' paths
have been kept for backward compatibility (no need to update your code).
The new license is MIT (not much of a change, the previous license was BSD).
== getting it
sudo gem install rufus-scheduler
or at
http://rubyforge.org/frs/?group_id=4812
== usage
For all the scheduling related information, see the Rufus::Scheduler class rdoc itself or the original OpenWFEru
scheduler documentation at http://openwferu.rubyforge.org/scheduler.html
Apart from scheduling, There are also two interesting methods in this gem, they are named parse_time_string and
to_time_string :
require 'rubygems'
require 'rufus/otime' # gem 'rufus_scheduler'
Rufus.parse_time_string "500" # => 0.5
Rufus.parse_time_string "1000" # => 1.0
Rufus.parse_time_string "1h" # => 3600.0
Rufus.parse_time_string "1h10s" # => 3610.0
Rufus.parse_time_string "1w2d" # => 777600.0
Rufus.to_time_string 60 # => '1m'
Rufus.to_time_string 3661 # => '1h1m1s'
Rufus.to_time_string 7 * 24 * 3600 # => '1w'
== dependencies
None.
== mailing list
On the rufus-ruby list[http://groups.google.com/group/rufus-ruby] :
http://groups.google.com/group/rufus-ruby
== issue tracker
http://rubyforge.org/tracker/?atid=18584&group_id=4812&func=browse
== source
http://github.com/jmettraux/rufus-scheduler
git clone git://github.com/jmettraux/rufus-scheduler.git
== author
John Mettraux, jmettraux@gmail.com
http://jmettraux.wordpress.com
== the rest of Rufus
http://rufus.rubyforge.org
== license
MIT








