Author

Topic: Braiins Os sceduler not working for me Antminer s9 (Read 77 times)

newbie
Activity: 6
Merit: 0


Oppsss... sorry I pointed you to the wrong thread I opened two threads but anyway this one should be the right one I hope it helps.

- https://bitcointalksearch.org/topic/m.57566189
[/quote]
I tried what he had with same error, but believe it or not i did figure it out.

The documents show it like this:

*/1 * * * * /usr/sbin/logrotate /etc/logrotate.conf 2>&1 | logger -t logrotate
0 0 * * * /usr/sbin/bos_upgrade_at 2>&1 | logger -t upgrade
0 9 * * * /etc/init.d/bosminer stop && sed -i 's/^psu_power_limit = .*/psu_power_limit = 960/' /etc/bosminer.toml && /etc/init.d/bosminer start
0 2 * * * /etc/init.d/bosminer stop && sed -i 's/^psu_power_limit = .*/psu_power_limit = 1280/' /etc/bosminer.toml && /etc/init.d/bosminer start

The problem was found when I decided to read the /etc/bosminer.toml file.. It had no line or ref for psu_power_limit any place in there, but there was a line that had power_target = 1420. So I said, well that might work, so I wrote this

*/1 * * * */usr/sbin/logrotate /etc/logrotate.conf 2>&1 | logger -t logrotate
0 0 * * */usr/sbin/bos_upgrade_at 2>&1 | logger -t upgrade
0 23 * * * /etc/init.d/bosminer stop && sed -i 's/^power_target = .*/power_target = 1420/' /etc/bosminer.toml && /etc/init.d/bosminer start
0 5 * * * /etc/init.d/bosminer stop && sed -i 's/^power_target = .*/power_target = 800/' /etc/bosminer.toml && /etc/init.d/bosminer start


 It works perfect now.  Thanks for your help.
newbie
Activity: 6
Merit: 0
That looks very promising,, ill try it
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook

Yes, I did this also as the instructions ask, and that command will run successfully.
What do you mean the scheduler setup above works? after using the "cron restart"?


I read it three times, but I was only able to find where he suggested adding the 2 first lines recommended in docs (Which is my first 2 lines), but his commands have no reference to setting the power limit. That discussion I did read before I posted, but it is about fan speed. I am thankful for your help, and any additional information you may have concerning setting the power level based on time.

Oppsss... sorry I pointed you to the wrong thread I opened two threads but anyway this one should be the right one I hope it helps.

- https://bitcointalksearch.org/topic/m.57566189
newbie
Activity: 6
Merit: 0
Ok, I get it you are talking about the cron scheduler.
Have you tried to remove extra spaces from your setup above?

Yes- It seems to work the same. To make clear what is going on- the command to stop works. The command to start works. The command to change power level doesn't.

If still does not work try accessing the SSH and use this command below

Code:
etc/init.d/cron restart

Then try it again.

Yes, I did this also as the instructions ask, and that command will run successfully.

If still does not work try the solution provided from this link below

- https://bitcointalksearch.org/topic/m.58440643

I read it three times, but I was only able to find where he suggested adding the 2 first lines recommended in docs (Which is my first 2 lines), but his commands have no reference to setting the power limit. That discussion I did read before I posted, but it is about fan speed. I am thankful for your help, and any additional information you may have concerning setting the power level based on time.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
Ok, I get it you are talking about the cron scheduler.
Have you tried to remove extra spaces from your setup above?

If still does not work try accessing the SSH and use this command below

Code:
etc/init.d/cron restart

Then try it again.

If still does not work try the solution provided from this link below

- https://bitcointalksearch.org/topic/m.58440643
newbie
Activity: 6
Merit: 0
What I am trying to do is the set the power level to say 900 watts at time of my choosing, then back to 1200 at time of my choosing. The docs do explain it well. I just isn't working for me.

https://academy.braiins.com/en/braiins-os/faqs/advanced/#how-to-automatically-change-power-limit-based-on-time
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
Have you tried to set up the unit on the dashboard instead of using bosminer?
I don't know what exactly you are trying to achieve but if it is all about changing the power limit then dynamic performance and power scaling on the Braiins OS, play with a PSU power limit.

Check this link below and scroll down to "Dynamic Performance Scaling configuration"

- https://academy.braiins.com/en/braiins-os/configuration/

Better delete your first thread on beginners and help section I deleted my post there since it's not on the right section and move the post here.

newbie
Activity: 6
Merit: 0
I have the following setup in the scheduler per the documents
*/1   *   *   *   *   /usr/sbin/logrotate /etc/logrotate.conf 2>&1 | logger -t logrotate
0   0   *   *   *   /usr/sbin/bos_upgrade_at 2>&1 | logger -t upgrade
0   9   *   *   *   /etc/init.d/bosminer stop && sed -i 's/^psu_power_limit = .*/psu_power_limit = 960/' /etc/bosminer.toml && /etc/init.d/bosminer start
0   2   *   *   *   /etc/init.d/bosminer stop && sed -i 's/^psu_power_limit = .*/psu_power_limit = 1280/' /etc/bosminer.toml && /etc/init.d/bosminer start

I submit this, then i restart device.

now- what happens is, I can change this time interval and I understand how, as this is just the example in the docs I am trying to learn and understand. When the time arrives, the event does stop the bosminer, and then it restarts it, but it doesn't change the power supply limit.  I am ready to learn and hopefully someone can guide me.
Jump to: