FYI

Kann auch nützlich sein.

--- Ursprüngliche Nachricht ---
Von: Holger <[email protected]>
Datum: 11.01.2016 04:04:24
An: [email protected]
Betreff: Re: [Berlin-wireless]  Bandbreite per cronjob ändern?

> Ahoi,
>
> Am 11.01.2016 um 03:28 schrieb Marcel:
> >> 1-59/2 * * * * uci set qos.wan.enabled=0 && uci commit qos
> && /etc/init.d/qos reload >/dev/null 2>&1
> >> >*/2 * * * * uci set qos.wan.enabled=1 && uci commit
> qos && /etc/init.d/qos reload >/dev/null 2>&1
>
> Danke Lars und Marcel!
> Mit && klappt's auch mit den Nachbarn! ;)
>
> Also lautet der Bürozeitentext:
> drosselung ab 8 Uhr aktivieren:
> 0 8 * * 1-5 root uci set qos.wan.enabled=1 && uci commit qos &&
>
> /etc/init.d/qos reload >/dev/null 2>&1
> drosselung ab 18 Uhr deaktivieren:
> 0 18 * * 1-5 uci set qos.wan.enabled=0 && uci commit qos &&
>
> /etc/init.d/qos reload >/dev/null 2>&1
>
> kewl, irgendwie eleganter als zwei Router, die im Wechsel betrieben werden.
>
> Serr schön!
> cheerio h
>
> _______________________________________________
> Berlin mailing list
> [email protected]
> http://lists.berlin.freifunk.net/cgi-bin/mailman/listinfo/berlin
> Diese Mailingliste besitzt ein ffentlich einsehbares Archiv
_______________________________________________
Users mailing list
[email protected]
https://lists.freifunk-potsdam.de/listinfo/users

Antwort per Email an