Bitcoin Forum
May 09, 2024, 09:16:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CGMiner: sched-start problem  (Read 146 times)
kasner (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
October 08, 2019, 11: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
1715246214
Hero Member
*
Offline Offline

Posts: 1715246214

View Profile Personal Message (Offline)

Ignore
1715246214
Reply with quote  #2

1715246214
Report to moderator
1715246214
Hero Member
*
Offline Offline

Posts: 1715246214

View Profile Personal Message (Offline)

Ignore
1715246214
Reply with quote  #2

1715246214
Report to moderator
1715246214
Hero Member
*
Offline Offline

Posts: 1715246214

View Profile Personal Message (Offline)

Ignore
1715246214
Reply with quote  #2

1715246214
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715246214
Hero Member
*
Offline Offline

Posts: 1715246214

View Profile Personal Message (Offline)

Ignore
1715246214
Reply with quote  #2

1715246214
Report to moderator
1715246214
Hero Member
*
Offline Offline

Posts: 1715246214

View Profile Personal Message (Offline)

Ignore
1715246214
Reply with quote  #2

1715246214
Report to moderator
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
October 17, 2019, 11: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

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
mikeywith
Legendary
*
Online Online

Activity: 2226
Merit: 6371


be constructive or S.T.F.U


View Profile
October 18, 2019, 01:26:55 AM
Last edit: October 18, 2019, 02:03:45 AM by frodocooper
 #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 <xxx>

or after

Code:
sched-start <xxx>

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Freemine-001010
Member
**
Offline Offline

Activity: 139
Merit: 46


View Profile
November 19, 2019, 07:15:07 AM
Last edit: November 19, 2019, 10:26:46 AM by frodocooper
Merited by frodocooper (4), BitMaxz (1)
 #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"
}
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!