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:
480
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!  


Thursday, 10-Dec 19:51:37 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [200] Sprint Sued For Distracted Driving Death
· [135] AT&T Launching New 24 Mbps U-Verse Tier
· [87] AT&T Hints At Usage-Based iPhone Data Pricing
· [82] 3G Network Test Says AT&T Is Tops
· [72] Mediacom Unveils 105 Mbps Pricing
· [72] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [66] Sprint Poised For A Turnaround?
· [54] Average American Consumes 34 Gigabytes Daily
· [51] The Future Of Wi-Fi Is Bright
· [50] Sprint, T-Mobile Merger Rumor Lives
Most people now reading
· New Mediacom Email [Mediacom]
· [WIN7] Well, I was dumb, but do I have recourse? [Microsoft Help]
· malware has been found hidden inside an Ubuntu screensaver [Security]
· Cross Server Dungeon Experience [World of Warcraft]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· [OS X] Mac Dekstop Theme?? [All Things Macintosh]
· Internet access from TV [Verizon FIOS TV]
· Battered Hilt Delimma [World of Warcraft]
· 60GB would only last us two days! [TekSavvy]