« unresponsive mlnet | Main | senslerdeutsche sprichwörter »

unresponsive mlnet update

as it turned out, the configuration of my crontab i showed in the last post doesn't work correctly. it did shut down mlnet, but it didn't relaunch it correctly. also i wanted to launch mlnet from a tcsh and increase file descriptor count as described in the forum on macdk.com, but nothing really worked. so i came nearly back to the initial configuration, with the difference that now i relaunch it each 2 hours.

excerpt from my /private/etc/crontab
# kill & restart mlnet
6 */2 * * * root killall mlnet
7 */2 * * * root /Volumes/MAX120/startmldonkey.sh

the script /Volumes/MAX120/startmldonkey.sh
#!/bin/bash
cd /Volumes/MAX120/mldonkey/
./mlnet &

this is necessary so mlnet will take the /Volumes/MAX120/mldonkey/ directory as its root directory.

Post a comment