Calendar add

From MLDonkey

Jump to: navigation, search

Syntax

~> calendar_add <hour> "<command>"

Description

Schedules the MLdonkey <command> to be execute every day at a given <hour>. Hour is provided in 24-hour format. List the calendar entries with vcal.

To remove an entry you have to stop MLdonkey and edit the calendar entry in the downloads.ini (IniFiles).

Example(s)

  • set upload rate by daytime
    limit upload rate to 10 kB/s at 8am and revoke limit at 10pm
> calendar_add 8 "set max_upload_rate 10"
> calendar_add 22 "set max_upload_rate 0"
> vcal 
weekdays / hours / command :
0 1 2 3 4 5 6
8
set max_upload_rate 10
0 1 2 3 4 5 6
22
set max_hard_upload_rate 0
  • commit files every morning
> calendar_add 6 "commit"

See also

calendar, vcal

Personal tools