# Queue actions - run project like a service?

**URL:** https://www.finalbuilder.com/forums/t/queue-actions-run-project-like-a-service/627
**Category:** Discussion
**Created:** [October 24, 2007, 5:50am UTC](https://www.finalbuilder.com/forums/t/queue-actions-run-project-like-a-service/627 "2007-10-24T05:50:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 24, 2007, 5:50am UTC](https://www.finalbuilder.com/forums/t/queue-actions-run-project-like-a-service/627/1 "2007-10-24T05:50:34Z")

</div>

I have a need to setup a queue which represents requests to run builds on a build server.&nbsp;&nbsp; Previously, we could run builds in parallel but we're changing things so that only one build can run at the same time on the given build server.&nbsp;&nbsp; However, developers will still request ad-hoc builds to be run.&nbsp;&nbsp; The answer seems to be to create a queue mechanism/app so that requests to run a build are popped on the queue and, as long as there are requests in the queue, the build process (a FB project) is kicked off for the next in line request.

I noticed that FB has some Queue actions and this is promising but the only practical way I can see this can work is if the FB project controling the queue and executing the build project is somehow running in the background like a service - ie. not running on a server's console.&nbsp;&nbsp; Is there a way to do this in FB or does a different 3rd party queue app have to be used in these circumstances?&nbsp; If so, can someone recommend such a queue app that preferably has a COM interface and can kick-off FB projects via the command line?

Thanks,

Clive

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [October 25, 2007, 3:04am UTC](https://www.finalbuilder.com/forums/t/queue-actions-run-project-like-a-service/627/2 "2007-10-25T03:04:00Z")

</div>

I noticed that FB has some Queue actions and this is promising but the only practical way I can see this can work is if the FB project controling the queue and executing the build project is somehow running in the background like a service - ie. not running on a server's console.

&nbsp;

One way to do this would be to schedule your master/queuing FB project to run say every 5 minutes which does the work with your queues, and kicks off a build if needed.

&nbsp;

As far as other 3rd party queue apps... the only ones I can think of off the top of my head are MSMQ and IBM MQSeries.&nbsp; Both are probably a bit heavy for your needs though :)

&nbsp;

.t8
