# Backgroundrb problems????????

**URL:** <https://discuss.rubyonrails.org/t/backgroundrb-problems/29735>\
**Category:** rubyonrails-talk\
**Created:** [May 23, 2008, 9:25am UTC](https://discuss.rubyonrails.org/t/backgroundrb-problems/29735 "2008-05-23T09:25:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [May 23, 2008, 9:25am UTC](https://discuss.rubyonrails.org/t/backgroundrb-problems/29735/1 "2008-05-23T09:25:03Z")

</div>

Hi All, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I wanna use backgroundrb for running my scheduler task but the newer version is not working on windows.Then i am using version from svn://rubyforge.org//var/svn/backgroundrb

Please help me and tell can i use backgroundrb like this i have some points:

1. First i want to send email through background rb

2. But that mail will be send from different criteria which i will send to worker class from controller using MiddleMan.new\_worker(:class =\> :foo\_worker, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:args =\> {:baz =\> 'hello!', :qux =\> 'another arg!'}) But every time args will change and i can run one another task without completing th first task also.So can i run multiple thread using this.

3.I used repeat\_every method but if once task completed then how to stop that.

Looking for your suggestions. Thanks Varun
