aMule Forum

English => aMule Help => Topic started by: frankO on November 17, 2005, 03:45:05 AM

Title: Crontab - Starting and stopping Amule
Post by: frankO on November 17, 2005, 03:45:05 AM
Hi,
  My Internet provider has introduced peak and off peak download limits. I would like to run Amule in the off peak time slot between 12.00am and 7.00am.
I have amule running on a Slackware server and connect to it via VNC.
I was hoping to use crontab to start and stop Amule.
I presume I can start Amule by

crontab -e
00 00***amule &

but how can I stop it nicely without using kill

Thanks
Title: Re: Crontab - Starting and stopping Amule
Post by: Kry on November 17, 2005, 06:58:05 AM
using amulecmd. like amulecmd -c "shutdown" or something alike. search forum. (or type "help" on amulecmd)
Title: Re: Crontab - Starting and stopping Amule
Post by: stefanero on November 17, 2005, 07:03:58 AM
and while you are at searching, search also for "remote.conf" so you can start amulecmd without having to type a password, since I think this would kinda be hard todo for cron ;)
Title: Re: Crontab - Starting and stopping Amule
Post by: Kry on November 17, 2005, 08:08:06 AM
amulecmd --create-config-from=/home/whatever/.aMule/amule.conf

Should be enough stefan :P
Title: Re: Crontab - Starting and stopping Amule
Post by: stefanero on November 17, 2005, 09:54:55 AM
well the result is the same :P
Title: Re: Crontab - Starting and stopping Amule
Post by: Jacobo221 on November 17, 2005, 11:20:26 AM
and there's a portuguese guy working on a sheduler for aMule (see portuguese forums)...
Title: Re: Crontab - Starting and stopping Amule
Post by: stroesen on November 17, 2005, 07:29:46 PM
Instead of killing the poor mule each sunrise, you could also use amulecmd to throttle your downloads during peak times and giving it full speed during off peak; this way you would stay queued and not loose your waiting credits (your server is up 24h a day, i guess?).
Oh, and the rest of the world could keep on downloading from you, if there is no upload limit (selfish me) :]
Title: Re: Crontab - Starting and stopping Amule
Post by: frankO on November 18, 2005, 02:45:15 AM
Quote
Originally posted by stroesen
Instead of killing the poor mule each sunrise, you could also use amulecmd to throttle your downloads during peak times and giving it full speed during off peak; this way you would stay queued and not loose your waiting credits (your server is up 24h a day, i guess?).
Oh, and the rest of the world could keep on downloading from you, if there is no upload limit (selfish me) :]

The trouble is you are still using a lot of download even if you are only uploading because of all the network communication.