Post
Topic
Board Mining software (miners)
Re: Braiins OS: open-source mining firmware [S9, T1]. New release includes AsicBoost
by
quser1
on 01/06/2019, 13:56:23 UTC
Thanks for the responce but it seems that one of the admins edited my post removing the quoted post. This is what I had quoted:

Add 2 cgminer.conf with your desired configs

Example:

Code:
/root/cgminer.conf.500
/root/cgminer.conf.750

Then edit crontab and set it to copy them before reload cgminer like this

Code:
0 7 * * * cp /root/cgminer.conf.500 /etc/cgminer.conf && /etc/init.d/cgminer reload
0 23 * * * cp /root/cgminer.conf.750 /etc/cgminer.conf && /etc/init.d/cgminer reload

Dont know if you need to stop cgminer before copy new config or not, if so you can do this:

Code:
59 6 * * * /etc/init.d/cgminer stop
0 7 * * * cp /root/cgminer.conf.500 /etc/cgminer.conf
1 7 * * * /etc/init.d/cgminer start
59 22* * * /etc/init.d/cgminer stop
0 23 * * * cp /root/cgminer.conf.750 /etc/cgminer.conf
1 23 * * * /etc/init.d/cgminer start

So I want to do this in "scheduled tasks", But I want to make sure that I have it typed right. Can you lend any assistance with that? Doing it the way you sugested will require me to do something every day (as I do now). I want to be able to set it and let it run.

Thanks,
Q