ruote 2.0 : when expression

0 views
Skip to first unread message

John Mettraux

unread,
Oct 27, 2009, 2:24:01 AM10/27/09
to openwferu-users
Hi List,

I've just ported [1] the "when" expression to ruote 2.0

I need it for case that looks a bit like :

_when '${f:audit_package_due}', :frequency => '1w'


There is a novelty : the frequency can be specified with a "cron
string" [2]. It could prove useful, "when this happens, check every
monday and tuesday". The documentation is at [3].


[1] http://github.com/jmettraux/ruote/commit/946eeb65d8132db4e14ac1c5a796cce19ae726fd
[2] http://github.com/jmettraux/ruote/commit/34ca01360133e8e1f3b9155895266d7ab270f451
[3] http://ruote.rubyforge.org/exp/when.html


Cheers,

--
John Mettraux - http://jmettraux.wordpress.com

Reply all
Reply to author
Forward
0 new messages