Diferent actions for diferent environments.

8 views
Skip to first unread message

Guillermo Álvarez

unread,
Nov 4, 2009, 9:57:34 AM11/4/09
to Whenever Gem
I think it could be funny to document in github wiki, these feature.

My schedule.rb looks like

every 1.day do
...
end

case @environment
when 'production'
...
when 'staging'
...
end

So i have diferent crontabs per environment.

I know it is not a new feature, but feel some lack of documentation at
this point.
Reply all
Reply to author
Forward
0 new messages