# BackgrounDRB

**URL:** <https://www.ruby-forum.com/t/backgroundrb/138847>\
**Category:** Rails\
**Created:** [May 28, 2008, 11:08am UTC](https://www.ruby-forum.com/t/backgroundrb/138847 "2008-05-28T11:08:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mex23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@mex23](https://www.ruby-forum.com/u/mex23)\
**Post date:** [May 28, 2008, 11:08am UTC](https://www.ruby-forum.com/t/backgroundrb/138847/1 "2008-05-28T11:08:18Z")

</div>

Hi all,

I’m developing on windows, and I need to do task scheduling.

BackgrounDRB seems to be the right solution, but it doesn’t work for  
windows…

The question is: what’s your suggestion for any BackgrounDRB alternative  
under windows?

Thanks in Advance

Stefano

---

<div class="post-metadata">

**Author:** ![mex23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@mex23](https://www.ruby-forum.com/u/mex23)\
**Post date:** [May 28, 2008, 2:20pm UTC](https://www.ruby-forum.com/t/backgroundrb/138847/2 "2008-05-28T14:20:00Z")

</div>

Hi Stefano,

Stefano B. wrote:

> I’m developing on windows, and I need  
> to do task scheduling.
> 
> BackgrounDRB seems to be the right solution,  
> but it doesn’t work for windows…

The new version doesn’t work for Windows, but the original version does.  
It  
may suit your needs. OTOH, ‘task scheduling’ makes me think of cron  
first,  
not BackgrounDRb. BackgrounDRb is typically used for offloading long  
running tasks.

HTH,  
Bill

---

<div class="post-metadata">

**Author:** ![mex23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@mex23](https://www.ruby-forum.com/u/mex23)\
**Post date:** [May 28, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/backgroundrb/138847/3 "2008-05-28T22:00:15Z")

</div>

On May 28, 2008, at 5:41 AM, Stefano B. wrote:

> I’ll investigate both CRON (hopefully it work for windows) and the  
> original version of BackgrounDRb as you suggest.
> 
> Greetings
> 
> Stefano

Nope. Cron is a \*nix tool too. Look into AT, which is the Windows  
version of cron.

---

<div class="post-metadata">

**Author:** ![mex23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@mex23](https://www.ruby-forum.com/u/mex23)\
**Post date:** [May 28, 2008, 2:41pm UTC](https://www.ruby-forum.com/t/backgroundrb/138847/4 "2008-05-28T14:41:52Z")

</div>

Bill W. wrote:

> Hi Stefano,
> 
> Stefano B. wrote:
> 
> > I’m developing on windows, and I need  
> > to do task scheduling.
> > 
> > BackgrounDRB seems to be the right solution,  
> > but it doesn’t work for windows…
> 
> The new version doesn’t work for Windows, but the original version does.  
> It  
> may suit your needs. OTOH, ‘task scheduling’ makes me think of cron  
> first,  
> not BackgrounDRb. BackgrounDRb is typically used for offloading long  
> running tasks.
> 
> HTH,  
> Bill

Many thanks Bill,

I’ll investigate both CRON (hopefully it work for windows) and the  
original version of BackgrounDRb as you suggest.

Greetings

Stefano

---

<div class="post-metadata">

**Author:** ![mex23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@mex23](https://www.ruby-forum.com/u/mex23)\
**Post date:** [May 29, 2008, 12:25pm UTC](https://www.ruby-forum.com/t/backgroundrb/138847/5 "2008-05-29T12:25:24Z")

</div>

Steve R. wrote:

> On May 28, 2008, at 5:41 AM, Stefano B. wrote:
> 
> > I’ll investigate both CRON (hopefully it work for windows) and the  
> > original version of BackgrounDRb as you suggest.
> > 
> > Greetings
> > 
> > Stefano
> 
> Nope. Cron is a \*nix tool too. Look into AT, which is the Windows  
> version of cron.

Right Steve,

CRON has nothing to do with Windows. Actually I am not able to find  
something about AT on Internet, can you point me in the right direction?  
(perhaps with a link)

Thanks

Stefano

---

<div class="post-metadata">

**Author:** ![mex23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@mex23](https://www.ruby-forum.com/u/mex23)\
**Post date:** [May 29, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/backgroundrb/138847/6 "2008-05-29T22:17:41Z")

</div>

Steve R. wrote:

> On May 29, 2008, at 3:25 AM, Stefano B. wrote:
> 
> > > 
> > 
> > Thanks
> > 
> > ## Stefano
> 
> I’m not using Windows, but you might look into:
> 
> [http://www.microsoft.com/technet/scriptcenter/guide/sas\_man\_lpja.mspx?mfr=true](http://www.microsoft.com/technet/scriptcenter/guide/sas_man_lpja.mspx?mfr=true)
> 
> Also see:
> 
> [http://www.kalab.com/freeware/cron/cron.htm](http://www.kalab.com/freeware/cron/cron.htm)  
> [http://cronw.sourceforge.net/](http://cronw.sourceforge.net/)  
> [ICron - an implementation of Cron as a Windows service](http://surguy.net/articles/icron.xml)
> 
> Although YMMV.

Hi Steve,

well, like you suggest I’ve just tried out Windows Task Scheduler to run  
my script.  
This is what I actually need.

Thanks a lot for your suggestions.

Stefano

---

<div class="post-metadata">

**Author:** ![mex23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@mex23](https://www.ruby-forum.com/u/mex23)\
**Post date:** [May 29, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/backgroundrb/138847/7 "2008-05-29T18:06:22Z")

</div>

On May 29, 2008, at 3:25 AM, Stefano B. wrote:

> > 
> 
> Thanks
> 
> ## Stefano

I’m not using Windows, but you might look into:

[http://www.microsoft.com/technet/scriptcenter/guide/sas\_man\_lpja.mspx?mfr=true](http://www.microsoft.com/technet/scriptcenter/guide/sas_man_lpja.mspx?mfr=true)

Also see:

[http://www.kalab.com/freeware/cron/cron.htm](http://www.kalab.com/freeware/cron/cron.htm)  
[http://cronw.sourceforge.net/](http://cronw.sourceforge.net/)  
[http://surguy.net/articles/icron.xml](http://surguy.net/articles/icron.xml)

Although YMMV.
