View Single Post
Old 2007-07-03, 16:20   Link #9
SeijiSensei
AS Oji-kun
 
 
Join Date: Nov 2006
Age: 74
I run Azureus out of cron overnight. Create a file with a text editor that looks like this:

Code:
0 23 * * * /usr/local/bin/azureus/azureus > /dev/null 2>&1
0  7 * * * killall -15 java > /dev/null 2>&1
replacing /usr/local/bin/azureus/azureus with the complete path to your azureus binary. Then run the command "crontab filename" to use the file you wrote to create an entry in /var/spool/cron under your username. See "man crontab" for details.

The fields at the start of each line represent times. The first line tells cron to start Azureus at 23:00 every day of the week; the latter tells it to kill the java process (gracefully using signal 15) at 7:00 am every day. The remaining three fields represent day of month, month, and day of week. Read "man 5 crontab" for details on the file format.
SeijiSensei is offline   Reply With Quote