ich wollte meinem mldonkey einfach per crontab um 7 in der früh sagen dass er alle transfers auf 1 kb runtersetzen soll und sie am abend um 21h wieder raufsetzen soll.
Um dies zu realisieren hab ich foilgende einträge in mein crontab geschreiben.
Code: Alles auswählen
* 7 * * * root wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+max_hard_download_rate+1
* 7 * * * root wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+max_hard_upload_rate+1
* 21 * * * root wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+max_hard_download_rate+280
* 21 * * * root wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+max_hard_upload_rate+50
Code: Alles auswählen
Dec 14 07:01:01 server /USR/SBIN/CRON[5798]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:01:01 server /USR/SBIN/CRON[5799]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:02:01 server /USR/SBIN/CRON[5808]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:02:01 server /USR/SBIN/CRON[5809]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:03:01 server /USR/SBIN/CRON[5818]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:03:01 server /USR/SBIN/CRON[5819]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:04:01 server /USR/SBIN/CRON[5828]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:04:01 server /USR/SBIN/CRON[5829]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:05:02 server /USR/SBIN/CRON[5838]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:05:02 server /USR/SBIN/CRON[5839]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:06:01 server /USR/SBIN/CRON[5848]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:06:01 server /USR/SBIN/CRON[5849]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$
Dec 14 07:07:01 server /USR/SBIN/CRON[5858]: (root) CMD ( wget --http-user="" --http-passwd=a32bb732 http://localhost:4080/submit?q=set+m$