>That looks like the command was run successfully. How are you confirming >its not running? Do you see it running via ps?
ps and top, both. >Well if you need a terminal window, use screen. >screen -dm -- /usr/bin/btdownloadcurses --saveas /shared/torrent /shared/a.torrent That works beautifully! And thank you for the script! Tim, thank you too, for the info on screen! On Wed, Nov 10, 2010 at 5:28 PM, William L. Thomson Jr. < [email protected]> wrote: > On Wed, 2010-11-10 at 16:59 -0500, Ephram wrote: > > > > I'm running Lucid (10.04). There's no cron or cron.log in /var/log. In > the > > syslog, however, in the syslog, I only found: > > Nov 10 16:30:20 tomatogoatee CRON[658]: (root) CMD > > (/usr/bin/btdownloadcurses --saveas /shared/torrent /shared/a.torrent &) > > That looks like the command was run successfully. How are you confirming > its not running? Do you see it running via ps? > > Anyway cron is not the best way, I would just scratch that approach. > > > I know it isn't necessary to reboot every time, but I just like to be > > thorough. > > It doesn't really do anything, but if you want to have at it :) > > > This is getting a little ridiculous. Surely there'd be an easier way to > > setup a dedicated, headless Linux torrent server. Google keeps running me > > around in circles to the same forums with the same problem I'm having. > (In > > that all CLI torrent programs require a terminal window. Kinda hard to > keep > > a terminal window open on a headless server...) > > Well if you need a terminal window, use screen. > > screen -dm -- /usr/bin/btdownloadcurses --saveas /shared/torrent > /shared/a.torrent > > As part of a crude init script > > #! /bin/sh > # > > case "$1" in > start) > log_begin_msg "Starting blah..." > /bin/su - some_user -c "screen -dm -- /usr/bin/btdownloadcurses > --saveas /shared/torrent /shared/a.torrent" > log_end_msg 0 > ;; > stop) > ;; > status) > ;; > *) > log_success_msg "Usage: {start|stop|status}" > exit 1 > esac > > exit 0 > > > -- > William L. Thomson Jr. > Obsidian-Studios, Inc. > http://www.obsidian-studios.com > > > --------------------------------------------------------------------- > Archive http://marc.info/?l=jaxlug-list&r=1&w=2 > RSS Feed http://www.mail-archive.com/[email protected]/maillist.xml > Unsubscribe [email protected] > >

