Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » Computing Clubs » Distributed Computing » Foldy6 - start up bat help needed
Search Topic:
Uniqs:
425
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
« [FP-Ops] Foldy2 Just Got A Boost!  
AuthorAll Replies


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

Foldy6 - start up bat help needed

Hi all, I am trying to write a bat file that when run will fire up all four Foldy6 clients. I plan on running this bat file via a scheduled task at system start up. I don't know where to look for documentation. But I cobbled this bat file together thinking I could CD to each directory and fire up the Folding@home-Win32-x86.exe program from there. Well, all this does is start the first one (FAH1). And I think I realized that this is a single task ... so it won't get to the next 3 ever. And I can't figure out how to have this bat file spawn 4 separate new subtasks (one for each FAH client).

Can someone please point me to where the documentation is for writing bat files?? Thank you. Your advice is appreciated.


--
Team Helix -=- Forever Folding -=- current host of Foldy #6

antbhill2
Premium,MVM
join:2001-02-28
Northern VA
clubs:
I think you would need to write individual files for each client. Control won't return to the batch file until whatever command you have issued is completed. So line 10 won't execute until line 9 is done (i.e., the client exits.)

antbhill2
Premium,MVM
join:2001-02-28
Northern VA
clubs:

reply to Gargoyle
Here's some documentation: »www.microsoft.com/resources/docu···mfr=true

It appears you could use the call command to independently run additional batch files from the main one and not have them wait for something else to finish.


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:
I am going to go read the doc .... thank you


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

reply to Gargoyle
Well, I tried it ... "call" worked to fire off FAH1 ... but it doesn't then return control to "startup.bat" ... so that the next one will start in another task. I need to spawn 4 new tasks from the original bat file. I think I might have another way to do this ... will be back if it works.
--
Team Helix -=- Forever Folding -=- current host of Foldy #6


usa2k
Please PRAY for Rebekah
Premium,MVM
join:2003-01-26
Canton, MI
clubs:
I thought they would already be running as a service?
Four services total. They are the no-nonsense command line clients?


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

Yes, they are 4 no nonsense cmd line clients.

I have always started each one "by hand" every time I re-start Windows.

I don't know what a service is ... but I though I could either 1) write a bat file to fire all four off or 2) create four new tasks (one for each client) scheduled to run at windows start up.

How do make a them a service?
--
Team Helix -=- Forever Folding -=- current host of Foldy #6


parkut
Crunch Addict
Premium
join:2001-12-15
Harrison Township, MI
clubs:
·AT&T Midwest
·WOW Internet and C..


1 edit
said by Gargoyle See Profile :

How do make a them a service?
This page has what looks to be helpful information about installing the F@H windows no-nonsense console client as a service. You'd need to be sure you put the proper team info.

»www.overclock.net/faqs/21059-how···ice.html

* Disclaimer * I don't use windows to fold, or have any experience doing so....
--
Hello, my name is Bill and I'm a crunchaholic...


Proud to be the current host of Crunchenstein #1, #3, #5, and Foldy #3


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

said by parkut See Profile :

said by Gargoyle See Profile :

How do make a them a service?
This page has what looks to be helpful information about installing the F@H windows no-nonsense console client as a service. You'd need to be sure you put the proper team info.

»www.overclock.net/faqs/21059-how···ice.html

* Disclaimer * I don't use windows to fold, or have any experience doing so....
Thanks partut. Looks like I will have to re-install all the clients to get them to run as a service.

Wish my bat file idea could werk :-/ oh well
--
Team Helix -=- Forever Folding -=- current host of Foldy #6


usa2k
Please PRAY for Rebekah
Premium,MVM
join:2003-01-26
Canton, MI
clubs:

1 edit
You can just set it as you start with appropriate flag.
Its "-config"


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

said by usa2k See Profile :

You can just set it as you start with appropriate flag.
Its "-config"
hmmmm ... so run each client with -config ... and set -svcstart ... interesting. Will try that.
--
Team Helix -=- Forever Folding -=- current host of Foldy #6


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

2 edits
hmmmmm ... I think I need to do this via -configonly

... and I need to be logged on with Administrator privileges ... and I don't know how to do that ...


usa2k
Please PRAY for Rebekah
Premium,MVM
join:2003-01-26
Canton, MI
clubs:
  Good answer!

If you later reboot, it will run right away in the background.
Even if you are not logged in.

Napsterbater
Premium
join:2002-12-28
Milledgeville, GA
add "start /w" befor the "Folding@home-Win32-x86.exe -local"

"start /w "Folding@home-Win32-x86.exe -local" should start that in a new window


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

said by Napsterbater See Profile :

add "start /w" befor the "Folding@home-Win32-x86.exe -local"

"start /w "Folding@home-Win32-x86.exe -local" should start that in a new window
I need to launch 4 unique programs. Each needs to run out of it's own directory.

First question ... is this the right cmd to get folding client 1 started in it's FAH1 directory?

Second question ... after launching the start of the first client ... does control really return to the batch file so the next of the four clients can get launched?

--
Team Helix -=- Forever Folding -=- current host of Foldy #6

Napsterbater
Premium
join:2002-12-28
Milledgeville, GA
·Windstream
·BroadVoice

I tried it with a batch file that started 2 other batch files and it seem to work that way.

start /w C:\FAH1\Folding@home-Win32-x86.exe

Looks correct, if you need to add switches you might need to add ""'s link this.

start /w "C:\FAH1\Folding@home-Win32-x86.exe -example"
--
AMD Phenom II x3 720 BE @ 3.5Ghz(OC) | 4Gb Memory @ 1600mhz | Sapphire ATI HD4870 1GB 800mhz/1000mhz(OC) | 2x500GB HDD's Raid 0 | Windows 7 Ultimate x64 Build 7100


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

Dern ... doesn't work for me ... I need to play with this some more :-/


--
Team Helix -=- Forever Folding -=- current host of Foldy #6

Napsterbater
Premium
join:2002-12-28
Milledgeville, GA
·Windstream
·BroadVoice

Is it not starting the client or not starting more then one?

start /w "C:\FAH1\Folding@home-Win32-x86.exe" -local

or

start /w C:\FAH1\Folding@home-Win32-x86.exe -local
--
AMD Phenom II x3 720 BE @ 3.5Ghz(OC) | 4Gb Memory @ 1600mhz | Sapphire ATI HD4870 1GB 800mhz/1000mhz(OC) | 2x500GB HDD's Raid 0 | Windows 7 Ultimate x64 Build 7100


Gargoyle
Premium,MVM,ExMod 2004-07
join:2000-12-29
Planet X
clubs:

reply to Gargoyle
I am sorry to say that I haven't had any time to focus on this ... too busy with work and getting my son off to college. I will be back to Foldy6 bat file fun next week. Thanks for all your help so far.
--
Team Helix -=- Forever Folding -=- current host of Foldy #6
-
Forums » Tech and Talk » Computing Clubs » Distributed Computing« [FP-Ops] Foldy2 Just Got A Boost!  


Friday, 27-Nov 00:46:31 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [112] Time Warner Cable Fires Broadside At Broadcasters
· [109] New AT&T Ad Campaign Hits Back At Verizon
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [70] TiVo Sees Record Customer Losses
· [62] In-Flight Internet Headed For Bumpy Landing?
· [56] Thanksgiving Open Thread
· [37] ICANN Slams DNS Redirection
· [36] Senators Want ACTA Made Public
· [35] EFF Wages War On Fine Print
Most people now reading
· Newegg Black Friday Sale started [Users Find Hot Deals]
· Not strictly "Home" related - but WOW anyways... [Home Repair & Improvement]
· SSD [Computer Hardware Discussion/Reviews]
· Bell Response to PIPEDA Request [TekSavvy]
· I'll Just Unplug That... [No, I Will Not Fix Your #@$!! Computer]
· Only firefox accesses Internet? [Security]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· [ Classes] Druid tanking: rotation and glyphs [World of Warcraft]