|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
| FrostWire General forum section for FrostWire users; Download "FrostWire Clean version 4" . FrostWire v.5 which only uses bittorrents and no longer uses Gnutella Network is not supported on these forums. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I recently got FrostWire as part of an Ubuntu Linux distro, it seems like a nice program but slows the machine down too much to use with other stuff. (This isn't a problem in itself because the machine in question has only 2 Pentium Pros at 200MHz a piece.)
I'm still new to working with Linux but I was thinking about setting it to automatically execute at night and then shut off in the morning with KAlarm, however at the moment I'm not sure how. I only realized it was a java app after several minutes and chance look at the processes screen. Assuming this in't too off topic for this forum I would like to know how I would go about launching FrostWire from a command line, shutting down the same way as well as any other interesting or worthwhile arguments that could be passed to it...or a link to said information I may have missed in which case I apologize for being sloppy. Thank you in advance for any information. |
|
#2
|
|||
|
|||
|
I haven't actually tried this, but editing /etc/crontab should work. Depending on your setup you could add lines for starting and stopping frostwire as so...
Code:
00 9 * * * root cd /opt/FrostWire;sh runFrost.sh 00 17 * * * root kill -9 `pgrep -f Frost` |
|
#3
|
|||
|
|||
|
Thank you that information; it put me on the right track. I wasn't even aware of cron.
It seems but you can't stick a pgrep command inside a kill but people must want to do this a lot because there is actully a seperate pkill command that is essentially both rolled into one. Anyway thank you, I shall get around to testing this once I get home from writing my exam.
|
|
#4
|
|||
|
|||
|
The pgrep inside the kill will work, but pkill is fine also.
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Console?? | raveboyboom44 | LimeWire+WireShare Tips and Tricks | 1 | January 12th, 2007 04:01 PM |
| console | botbyl21 | Open Discussion topics | 2 | October 5th, 2006 11:57 PM |
| console? | eyeball | FrostWire | 4 | September 4th, 2006 12:39 AM |
| 'console' | Monaro05 | Open Discussion topics | 2 | February 1st, 2006 10:52 AM |
| console? | silver_pioneer | Open Discussion topics | 1 | January 23rd, 2006 02:12 AM |