Difference between revisions of "FAQ amulecmd"

From AMule Project FAQ
Jump to: navigation, search
(use wiki tags, not html)
Line 3: Line 3:
 
You have to configure such jobs with crontab. Let's do it by example:<br>
 
You have to configure such jobs with crontab. Let's do it by example:<br>
 
:bash ~# crontab -e
 
:bash ~# crontab -e
:00 6 &nbsp; * * * amulecmd -c "setupbwlimit 20"
+
:00 6 &nbsp; * * * amulecmd -c "set bwlimit up 30"
:00 22 * * * amulecmd -c "setupbwlimit 0"
+
:00 22 * * * amulecmd -c "set bwlimit up 0"
Will set your download bandwith limit to 20 kb/s on 6:00am and unlimited on 10:00pm. For more possibilities see also [[aMuleCMD]].
+
Will set your download bandwith limit to 30 kb/s on 6:00am and unlimited on 10:00pm. For more possibilities see also [[aMuleCMD]].
 +
 
  
 
'''I cannot connect to [[aMuled]]. It seems [[aMuled]] does not create the listening port for connecting to it :-\?'''
 
'''I cannot connect to [[aMuled]]. It seems [[aMuled]] does not create the listening port for connecting to it :-\?'''
Line 16: Line 17:
 
| ||$ echo -n yourpasswordhere | md5sum | cut -d ' ' -f 1
 
| ||$ echo -n yourpasswordhere | md5sum | cut -d ' ' -f 1
 
|}
 
|}
 +
 +
'''How can I receive a mail every day with a summary of the files amuled downloaded ?'''
 +
 +
First, create [[Making a handy amulecmd script|this]] script and verify that it works properly. Then you can add it to your cron in the same way as shown above. Many cron-daemons will mail output of a script to your user. You can also use utilities like sendmail to mail the output of the script.

Revision as of 15:06, 31 March 2006

How can I configure amulecmd to schedule actions? (Linux)

You have to configure such jobs with crontab. Let's do it by example:

bash ~# crontab -e
00 6   * * * amulecmd -c "set bwlimit up 30"
00 22 * * * amulecmd -c "set bwlimit up 0"

Will set your download bandwith limit to 30 kb/s on 6:00am and unlimited on 10:00pm. For more possibilities see also aMuleCMD.


I cannot connect to aMuled. It seems aMuled does not create the listening port for connecting to it :-\?

You have probably not enabled External Connections in ~/.aMule/amule.conf

NOTE: You can create the value for ECPassword like that:
md5sum | cut -d ' ' -f 1

How can I receive a mail every day with a summary of the files amuled downloaded ?

First, create this script and verify that it works properly. Then you can add it to your cron in the same way as shown above. Many cron-daemons will mail output of a script to your user. You can also use utilities like sendmail to mail the output of the script.