m1@m1-desktop:~$ python2.7 /home/m1/WTM_SWITCHER /home/m1/WTM.json
9169.22
BTC PRICE: 9169.22 USD
ETH 13.50 USD
ZCL 7.58 USD
New profits
ETH: 100 %
ZCL: 56 %
m1@m1-desktop:~$
e: we have some part success: I tried the process again with running 'bash oneBash' in a 'main' screen configured ZCL as coin.
unfortunately the mining process still suffers but the wtm screen is running and after a while it recognized eth is the new coin to go and it switched the mining to eth/claymore inside the 'wtm' screen.
I will try to figure out now why zcl doesn't start. tyvm papampi
e2: ok, I googled this unary expression thing again and found
https://stackoverflow.com/questions/13617843/unary-operator-expectedI changed the first lines that had this error for testing in oneBash:
if [ $COIN == "NICE" ]
then
if [ $GENOILorCLAYMORE == "GENOIL" ]
then
HCD='/home/m1/eth/Genoil/ethminer'
to the following (There is no reason I did the first two: I started out and on 2nd extra quotation I realised I should have a try first so the first one might have been enough)
if [ "$COIN" == "NICE" ]
then
if [ "$GENOILorCLAYMORE" == "GENOIL" ]
then
HCD='/home/m1/eth/Genoil/ethminer'
ZCL works again. However, because of these early stages of rxOC there was no screen session implemented for ZCL, only claymore I guess. therefore, a second mining instance starts parallel in wtm screen. I guess I need to add this in oneBash.
e3: hmm yeah, now I get double screen -r miner

What to do? -
answer: 'bash wtm_auto_switch' @ screen 'main' <- This does also open two miner screens/processes when starting out with ETH it just does one, but there is also a message saying "now mining in screen -r miner" not sure if this message holds further bash lines from executing. I added screen -dmS miner to ZCL oneBash like this:
if [ $OPTIMINERorCLAYMORE == "CLAYMORE" ]
then
HCD='/home/m1/zec/c12_5/zecminer64'
ZECADDR="$ZEC_ADDRESS.$ZEC_WORKER"
screen -dmS miner $HCD -zpool $ZEC_POOL -zwal $ZECADDR -zpsw x -dbg -1 -i $ZEC_INTENSITY $ZEC_EXTENTION_ARGUMENTS