Closed vias79 closed 11 years ago
Cryptoswitcher is designed to be miner-agnostic. Miner operation is supposed to be entirely up to the user, cryptoswitcher's interaction stops where it runs the script that the user told it too.
Ok, fail from my part then.
Could you perhaps add a API script example for cgminer?
2013/6/25 Jack Fenderson notifications@github.com
Cryptoswitcher is designed to be miner-agnostic. Miner operation is supposed to be entirely up to the user, cryptoswitcher's interaction stops where it runs the script that the user told it too.
— Reply to this email directly or view it on GitHubhttps://github.com/area/CryptoSwitcher/issues/8#issuecomment-19985606 .
I wrote cgminer-monitor in python, it's a simple script that does various things. One of them is to restart cgminer from the API, if something is wrong. Hope it helps. https://github.com/shazbits/cgminer-monitor
On Tue, Jun 25, 2013 at 4:16 PM, vias79 notifications@github.com wrote:
Ok, fail from my part then.
Could you perhaps add a API script example for cgminer?
2013/6/25 Jack Fenderson notifications@github.com
Cryptoswitcher is designed to be miner-agnostic. Miner operation is supposed to be entirely up to the user, cryptoswitcher's interaction stops where it runs the script that the user told it too.
— Reply to this email directly or view it on GitHub< https://github.com/area/CryptoSwitcher/issues/8#issuecomment-19985606> .
— Reply to this email directly or view it on GitHubhttps://github.com/area/CryptoSwitcher/issues/8#issuecomment-20003865 .
Thank you, will check into that :)
2013/6/25 Romain Dura notifications@github.com
I wrote cgminer-monitor in python, it's a simple script that does various things. One of them is to restart cgminer from the API, if something is wrong. Hope it helps. https://github.com/shazbits/cgminer-monitor
On Tue, Jun 25, 2013 at 4:16 PM, vias79 notifications@github.com wrote:
Ok, fail from my part then.
Could you perhaps add a API script example for cgminer?
2013/6/25 Jack Fenderson notifications@github.com
Cryptoswitcher is designed to be miner-agnostic. Miner operation is supposed to be entirely up to the user, cryptoswitcher's interaction stops where it runs the script that the user told it too.
— Reply to this email directly or view it on GitHub< https://github.com/area/CryptoSwitcher/issues/8#issuecomment-19985606> .
— Reply to this email directly or view it on GitHub< https://github.com/area/CryptoSwitcher/issues/8#issuecomment-20003865> .
— Reply to this email directly or view it on GitHubhttps://github.com/area/CryptoSwitcher/issues/8#issuecomment-20004435 .
Restarting cgminer is botchy at best. Most systems can't handle it without crashing.
So I'd suggest you add the option to add/stop/remove pools via API to a currently running cgminer.
The code for this could perhaps be borrowed from psheps ANUBIS project: https://github.com/pshep/ANUBIS