[ILUG-Cochin.org] btdownloadcurses and crontab
Vimal Joseph
vimaljoseph at gmail.com
Thu Apr 30 16:43:27 IST 2009
On Tue, 2009-03-31 at 19:56 +0530, sanalkumar mr wrote:
> Dear all.....when I tried to schedule crontab(as normal user) for
> bittorrent download in commandline , it didn't work.I edited crontab
> in Nano as given below.
> 35 6 30 Mar Mon btdownloadcurses --max_upload_rate
> 1 /home/sanal/filename.torrent
> If you find any error plz inform me. Expecting support from the
> community.........
I think btdownloadcurses need a terminal to execute so the cron cant run
it directly. You can try ctorrent. It will work with cron directly.
Or if you want btdownloadcurses, then try adding the below line
30 2 * * * export DISPLAY=:0 && gnome-terminal -e "btdownloadcurses
--max_upload_rate 10 /home/sanal/my.torrent"
(all in one line)
and if you want to stop btdownloadcurses at 7:30 add another entry
30 7 * * * killall btdownloadcurses
~vimal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20090430/bfe6c8a4/attachment.bin>
More information about the Mailinglist
mailing list