Re: [btqueue-users] BTqueue Daemon - non interactive commands
Status: Beta
Brought to you by:
xgie
From: Sugree P. <su...@hp...> - 2005-02-04 17:23:50
|
It is possible. You can call it either passing each command as argument or redirecting standard out. For example, ------------------- #!/bin/sh btqueue.py add http://www.bittorrent.com/bt.torrent btqueue.py pause 1 btqueue.py resume 2 ------------------- Or, $ btqueue.py < script.txt ------- script.txt ------- add http://www.bittorrent.com/bt.torrent pause 1 resume 2 quit -------------------------- Sugree Phatanapherom su...@hp... Gerry wrote: > I've upgraded python to 2.3, it works! :) > > My aim was running btqueue as a daemon, creating some shell scripts to send > command about loading & unloading torrents. > > Is it possible? Btqueue remote is an interactive shell to the daemon, while > i'd like to run it by non interactive commands. > > The idea is to manually submit torrents file, share actively 4 torrents, > then replace them when they've reached a good share ratio if there are > others torrents in queue. > |