Author

Topic: CGMiner: sched-start problem (Read 161 times)

member
Activity: 139
Merit: 46
November 19, 2019, 03:15:07 AM
#4
you need to use cron tab format  and i use different cgminer configs,

here is an example of what i use

Code:
#copy underclock cgminer config, restart cgminer    @ 6:55am mon-sat
55 6 * * 1-6 cp /etc/cgminer-uc /etc/cgminer.conf && /etc/init.d/cgminer restart

but you need to download win scp and use it to login , download the cgminer file

copy it / rename it so you have the original ,

change the settings in it and save it, MAKE SURE WHEN YOU SAVE IT DONT SAVE IT AS .TXT

you can rename it in win scp program

here is a sample cgminer file

Code:
{
"bitmain-use-vil":true,
"overclock":"0.80",
"api-port":"4028",
"pools":[{"user":"xxxxxxx","url":"stratum+tcp://btc.s.novablock.com:443","pass":"","_id":"1"},
{"_id":"2","url":"stratum+tcp://btc.s.novablock.com:1883","pass":"","user":"xxxxxxx"},
{"user":"xxxxxx","url":"us.ss.btc.com:1800","pass":"","_id":"3"}],
"bitmain-freq":",,,,,",
"no-pre-heat":true,
"fan-temp":"75",
"api-allow":"W:0\/0",
"bitmain-voltage":",,,,,",
"config-format-revision":"1",
"api-listen":true,
"multi-version":"4",
"fan-ctrl":"temp"
}
legendary
Activity: 2338
Merit: 6509
be constructive or S.T.F.U
October 17, 2019, 09:26:55 PM
#3
The only problem he is using Braiins OS but maybe it will also work on default s9 firmware. Just try

Both firmware are based on CGminer , so all CGminer commands should "technically" work just fine on any version , unless bitmain disabled that for a reason, which is unlikely.

OP can you please post the exact command you are trying you use?

When i check MinerConfiguration - all data is null (URL=null, worker=null, pass=null)

does this happen after

Code:
sched-stop

or after

Code:
sched-start
legendary
Activity: 3374
Merit: 3095
BTC price road to $80k
October 17, 2019, 07:40:57 PM
#2
Can you try to check this post below someone asking the same thing and maybe it will work?

Would these cgminer commands work on an S9 running Braiins OS?
How would I set them? edit a file with terminal?

--sched-start       Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop        Set a time of day in HH:MM to stop mining (will quit without a start time)

Probably /etc/cgminer.conf

{(the_rest_of_the_options),"sched-start":"07:00","sched-stop":"18:00"}

Don't forget to restart cgminer with /etc/init.d/cgminer reload

The only problem he is using Braiins OS but maybe it will also work on default s9 firmware. Just try
newbie
Activity: 4
Merit: 0
October 08, 2019, 07:06:12 AM
#1
Hi!
sched-stop option for cgminer (Antminer S9) works fine, but sched-start is not working.
When i check MinerConfiguration - all data is null (URL=null, worker=null, pass=null)
What is wrong ?
TNX
Jump to: