Page 1 of 1

Passing arguments from command line

Posted: Mon Mar 01, 2010 8:29 am
by light_my_fire
Did 1.2.x break\discontinue the -a function? e.g. deluge -u console -a "config --set max_active_limit 0" now returns Unknown command: c

I'm trying to fix scheduling using cron. Previously I used a python script that I found on here a long time ago but that seems to have broken in this update as well.

Any help would be appreciated.

Re: Passing arguments from command line

Posted: Tue Mar 02, 2010 2:25 pm
by Cas
do you know there is a scheduler plugin that may meet your needs?

Re: Passing arguments from command line

Posted: Tue Mar 02, 2010 9:19 pm
by light_my_fire
Cas wrote:do you know there is a scheduler plugin that may meet your needs?
Yes, I installed the scheduler plugin but have not been able to make it work. There is no interaction possible with the green boxes on the config screen. I'm using the web ui and have tried it in firefox, IE & chrome on two different machines. Using the gui client is not an option for me.

I'd rather do it using cron if that is still possible.

Re: Passing arguments from command line

Posted: Tue Mar 02, 2010 11:13 pm
by gazpachoking
light_my_fire wrote:Did 1.2.x break\discontinue the -a function? e.g. deluge -u console -a "config --set max_active_limit 0" now returns Unknown command: c

I'm trying to fix scheduling using cron. Previously I used a python script that I found on here a long time ago but that seems to have broken in this update as well.

Any help would be appreciated.
I'm pretty sure you can just do:
deluge-console "config --set max_active_limit 0"

Re: Passing arguments from command line

Posted: Wed Mar 03, 2010 6:40 am
by light_my_fire
gazpachoking wrote:
light_my_fire wrote:Did 1.2.x break\discontinue the -a function? e.g. deluge -u console -a "config --set max_active_limit 0" now returns Unknown command: c

I'm trying to fix scheduling using cron. Previously I used a python script that I found on here a long time ago but that seems to have broken in this update as well.

Any help would be appreciated.
I'm pretty sure you can just do:
deluge-console "config --set max_active_limit 0"
Thank you! That's exactly what I was looking for.