# Simultaneous ruby batch files

**URL:** <https://www.ruby-forum.com/t/simultaneous-ruby-batch-files/155679>\
**Category:** Ruby\
**Created:** [December 15, 2008, 3:39pm UTC](https://www.ruby-forum.com/t/simultaneous-ruby-batch-files/155679 "2008-12-15T15:39:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erika](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/47e85d/32.png) [@erika](https://www.ruby-forum.com/u/erika)\
**Post date:** [December 15, 2008, 3:39pm UTC](https://www.ruby-forum.com/t/simultaneous-ruby-batch-files/155679/1 "2008-12-15T15:39:27Z")

</div>

Hi,

How is it possible to run two simultaneous ruby batch file without the  
explorer window mixing up.

I have to batch files, each of them contains ruby test cases. I would  
like to schedule these two batch files, with scheduled tasks, to run in  
the same time. Will both of them run correctly or how should I proceed  
to achieve this?

Thank you,  
Erika

---

<div class="post-metadata">

**Author:** ![erika](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/47e85d/32.png) [@erika](https://www.ruby-forum.com/u/erika)\
**Post date:** [December 15, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/simultaneous-ruby-batch-files/155679/2 "2008-12-15T16:57:15Z")

</div>

2008/12/15 Erika [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> How is it possible to run two simultaneous ruby batch file without the explorer window mixing up.
> 
> I have to batch files, each of them contains ruby test cases. I would like to schedule these two batch files, with scheduled tasks, to run in the same time. Will both of them run correctly or how should I proceed to achieve this?

I’d rather have a third file that starts both tests together. Relying  
on the scheduler’s (cron, at or whatever you are using on your unnamed  
OS) timing might work but sounds unreliable.

Kind regards

robert
