Difference between revisions of "FAQ amulecmd"

From AMule Project FAQ
Jump to: navigation, search
Line 1: Line 1:
'''How can I configure amulecmd to schedule actions? (Linux)'''
+
== How can I configure amulecmd to schedule actions? (Linux) ==
  
 
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>
Line 7: Line 7:
 
Will set your download bandwith limit to 30 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 :-\?'''
+
  
 
You have probably not enabled [[External Connections]] in ''~/.aMule/amule.conf
 
You have probably not enabled [[External Connections]] in ''~/.aMule/amule.conf
Line 16: Line 15:
 
   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? ==
  
'''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.
  
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.
+
== Version ==
 +
Created by "Unknown User" on 06.01.05 at 00:35<br>
 +
Updated by Vollstrecker on 18.01.08 at 10:53

Revision as of 10:58, 18 January 2008

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:

 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 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.

Version

Created by "Unknown User" on 06.01.05 at 00:35
Updated by Vollstrecker on 18.01.08 at 10:53