 |
 |
[DF] THE script and info thread. ask any and all DF questions here
|
 |
|
 |
|
Moderator Emeritus 
Join Date: Dec 2000
Location: College Park, MD
Status:
Offline
|
|
This is a script I wrote to use for starting and stopping it. This script can be put in cron.
You can put this script anywhere on the system, since it has the full paths in it.
#!/bin/sh
case "$1" in
start)
#path to client 1
cd /Users/scott/distribfold
./foldit &
#path to client 2, for a dual proc machine.
#uncomment the next 2 lines if dual proc
#cd /Users/scott/distribfold2
#./foldit &
;;
stop)
rm /Users/scott/distribfold/foldtrajlite.lock
#uncomment and change path if you have two clients (dual proc)
#rm /Users/scott/distribfold2/foldtrajlite.lock
;;
*)
echo "Usage: start|stop"
esac
exit 0
And here's the cron entry that can be used to stop it.
0 * * * * cd /Users/scott/; ./distribfold.sh start
Make sure to chmod +x the first script.
Also, change all paths to your correct paths.
This is what the last line of my foldit script looks like, for reference.
./foldtrajlite -f protein -n native -qt -df -rt
The -qt silences output, the -df will buffer more (otherwise it will stop at 30K buffered, incase of server outage), and the -rt uses more ram.
Those are what I use, there are others.
Hope these help, feel free to ask any questions
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Feb 2002
Location: Silly Valley, Ca
Status:
Offline
|
|
Did you check out my scripts?
You can probably understand them.
I have starters, stoppers, autoconfig and start at boot etc.
You can probably almost use them as is on linux too.
Scripts and stuff
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: London, UK
Status:
Offline
|
|
Thanks for the scripts guys. I'm new to dfold, having come over from RC5, the startup script is exactly what I need for logging in to my G4 and setting dfold remotely
Originally posted by Scotttheking:
This is what the last line of my foldit script looks like, for reference.
./foldtrajlite -f protein -n native -qt -df -rt
The -qt silences output, the -df will buffer more (otherwise it will stop at 30K buffered, incase of server outage), and the -rt uses more ram.
Those are what I use, there are others.
Hope these help, feel free to ask any questions [/B]
Can anyone give a complete rundown on what all the modifiers are, e.g. what does the "-f protein -n native" bit mean? What are the others? (I've tried to find this info elsewhere but with no luck, so sorry if I've missed something really obvious...)
Thanxx,
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by wulf:
Can anyone give a complete rundown on what all the modifiers are, e.g. what does the "-f protein -n native" bit mean? What are the others? (I've tried to find this info elsewhere but with no luck, so sorry if I've missed something really obvious...)
OK sorry, I read the full readme properly, which does explain the modifiers... still curious about the "-f protein -n native" tho...
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator Emeritus 
Join Date: Dec 2000
Location: College Park, MD
Status:
Offline
|
|
Originally posted by wulf:
OK sorry, I read the full readme properly, which does explain the modifiers... still curious about the "-f protein -n native" tho...
It is part of the client launch, and it's always used.
That's all I know.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|