Page 2 of 2
Re: Can we add some QOS options?
Posted: Sun Aug 30, 2015 4:10 am
by Lantis
Again not at a computer to test, so I don't know if you cba combine several commands into one cron job seperating with ";".
But, if you created an SH file with all the commands that you wanted to run inside it, you could just Call the one file.

Re: Can we add some QOS options?
Posted: Sun Aug 30, 2015 6:50 pm
by guyso
Thanks again Lantis for your excellent advice.
While researching I found that "&&" allows me to join commends with the added benefit that the subsequent command does not run unless the previous one finished successfully. This seemed a good option to use so I tested the following cron tasks with a ten minute break between them and it work perfectly. I am using two minutes past 5pm and two minutes past 11pm as below tonight and I will see how it goes. I chose two minutes past the hour as there are other cron tasks happening on the hour and therefore it seemed best to avoid this time.
Using the original three commands worked beautifully last night and I am sure this will be the final amendment.
This has been a bit of fun and a great learning experience. Thanks for all the help and assistance you and others have provided.
2 17 * * * uci set qos_gargoyle.download.total_bandwidth=15000 && uci commit qos_gargoyle && /etc/init.d/qos_gargoyle restart
2 23 * * * uci set qos_gargoyle.download.total_bandwidth=30000 && uci commit qos_gargoyle && /etc/init.d/qos_gargoyle restart
Re: Can we add some QOS options?
Posted: Sun Aug 30, 2015 7:41 pm
by Lantis
No problem mate

Glad you took our advice and put your own research into it too. Learning is important
