Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CC miner code for restart #217

Open
Goranbol opened this issue Mar 1, 2018 · 12 comments
Open

CC miner code for restart #217

Goranbol opened this issue Mar 1, 2018 · 12 comments

Comments

@Goranbol
Copy link

Goranbol commented Mar 1, 2018

Hi Klaus T,

I had one of your wonderful creations and it served me well.
It was a CC miner with a lot of extra written code in it. Lost it during hard disk failure.
That CC miner had auto start mode. for example when cpu cuts off or network goes down or gpu falls off,stopps working becouse of high intensity he would restart in program without turning it self off and continue to work without even me knowing about it.
At this stage sometimes when I get up in the morning i find a rig wit cc miner and of and it hasn't been working for a while.Can you help me in setting up a miner that would in case of any strange issues just restart himself and stated to mine again,please.
Is there a code I need to write in bat file?
Will that command work for all versions of CC miner?
I am running CC miner on Win 64

MAny thanks

@Goranbol Goranbol changed the title CC miner code for autostart CC miner code for restart Mar 1, 2018
@drako-ua
Copy link

drako-ua commented Mar 1, 2018

same question

@KlausT
Copy link
Owner

KlausT commented Mar 1, 2018

The most simple thing would be to write this in a bat file:

:loop
ccminer.exe --put --your --options --here
goto loop

@Goranbol
Copy link
Author

Goranbol commented Mar 1, 2018

Hi Klaus.
Thanks for your reply.
I have that one in,but when cc miner stops working as it happend just right now. Windows 10 64 opens small wind and says that ccminer stoped working and tries to troubleshoot the issue and turns Cc miner off.
Is there any way i could lower the 30 seconds loop and make my cc miner restarts wright away after stopping or when error occurs.
Many thanks.

@Goranbol
Copy link
Author

Goranbol commented Mar 1, 2018

Mine looks like this
:loop
ccminer.exe -a bitcore -
pause
goto loop

@Goranbol
Copy link
Author

Goranbol commented Mar 1, 2018

Will taking out the work than ?

@Goranbol
Copy link
Author

Goranbol commented Mar 2, 2018

cuda eror
cuda eror

@Goranbol Goranbol closed this as completed Mar 2, 2018
@Goranbol Goranbol reopened this Mar 2, 2018
@KlausT
Copy link
Owner

KlausT commented Mar 2, 2018

I can't help you with the "stopped working" error.
Looks like an issue with tpruvot's ccminer version.

@Goranbol
Copy link
Author

Goranbol commented Mar 3, 2018

Thnak Klaus.
Can you recommend me one of your Miner than. For BTX coin.
Many thanks.

@lyolyalya
Copy link

first of all - what miner are you using.that's maybe spmod or tpruvot miner.if there is tpruvot miner then try lower overclock.if there is spmod - then try lower intensity

@crazydoc72
Copy link

crazydoc72 commented Mar 5, 2018

For linux users, this script will do the job and logs the time of the restart to file "restarts":

#!/bin/bash
while [ true ] ; do
if [ ! "$(pidof ccminer)" ]
then
./ccminer blablabla
date >> restarts
sleep 5
fi
done

@n-i-x
Copy link

n-i-x commented Mar 27, 2018

You need to disable windows error reporting. The KlausT version will cause a problem sometimes and windows error reporting will open a modal dialog that will prevent the script from looping. Disable it and the script will loop just fine.

@Duppis
Copy link

Duppis commented Apr 1, 2018

I get that error if I have too much OC on my cards.
Try lowering OC a bit or go way down and work your way up when you're able to monitor your miner.

Im running +175/1000 on my 1080Ti's with no problem
But if I go up to +200 it will crash with that error after a little while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants