Difference between revisions of "FAQ amulecmd"

From AMule Project FAQ
Jump to: navigation, search
Line 12: Line 12:
 
You have probably not enabled [[External Connections]] in ''~/.aMule/amule.conf
 
You have probably not enabled [[External Connections]] in ''~/.aMule/amule.conf
  
{|
+
'''NOTE:''' You can create the value for ''ECPassword'' like that:
|valign=top | '''NOTE:''' || You can create the value for ''ECPassword'' like that:
+
 
|-
+
  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.

Revision as of 01:46, 3 October 2007

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.