<a href="http://railsblogger.blogspot.com/2009/03/in-queue_15.html">Calling RAKE tasks within the Rails environment</a>.

Good to know.