From: <jj...@us...> - 2004-03-14 23:01:46
|
Update of /cvsroot/ngetsuite/ngetsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8909 Modified Files: HOWTO Log Message: minor update in the HOWTO Index: HOWTO =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite/HOWTO,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** HOWTO 6 Feb 2004 23:46:58 -0000 1.4 --- HOWTO 14 Mar 2004 22:52:45 -0000 1.5 *************** *** 20,23 **** --- 20,26 ---- ------------------------------------------ Before everything, start the daemon and optionnaly the httpd (see configfile) + (notice that the httpd is the recommanded interface) + You can leave the daemon run on a console, which will tell you what is going on if you have set 'debug' or 'daemon_debug' in the config. + ./daemon.rb & disown -a *************** *** 42,51 **** you must regularly update the news reader cache with for example a crontab like this : ! 10 5 * * * ~/ngetupdate.sh ! ! content of ~/ngetupdate.sh : ! #!/bin/sh ! cd ~/ngetsuite ! ./ngetsuite.rb -v This will fetch the headers from the news server, parse the cache file and --- 45,49 ---- you must regularly update the news reader cache with for example a crontab like this : ! 10 5 * * * /home/me/ngetsuite/ngetsuite.rb -v This will fetch the headers from the news server, parse the cache file and *************** *** 64,74 **** matching some regexp (download queue). You add a queue with -r : ! ./ngetsuite.rb -r groupid,regexp,prio ie : ./ngetsuite.rb -r linux-pics,penguin,7 ! Finally, you must start the monitoring with ./ngetsuite.rb -m : the daemon will ! then look for the queue with a 'PENDING' status and the greatest priority, mark this queue as 'PROCESSING' and start a nget instance with the corresponding regexp. --- 62,73 ---- matching some regexp (download queue). You add a queue with -r : ! ./ngetsuite.rb -r groupid,regexp[,prio,period,directory] ie : ./ngetsuite.rb -r linux-pics,penguin,7 ! Finally, you must start the monitoring with ./ngetsuite.rb -m (the appropriate ! config option 'daemon_autostart' can avoid this step). The daemon will then ! look for the queue with a 'PENDING' status and the greatest priority, mark this queue as 'PROCESSING' and start a nget instance with the corresponding regexp. *************** *** 82,86 **** ./ngetsuite.rb -x 23 ! If you want to start processing this queue again (because of a network failure, repost..), you just have to change the status of the queue to 'PENDING' with : ./ngetsuite.rb -i 23,PENDING --- 81,85 ---- ./ngetsuite.rb -x 23 ! If you want to start processing this queue again (because of a nget failure, repost..), you just have to change the status of the queue to 'PENDING' with : ./ngetsuite.rb -i 23,PENDING |