You can do it in bat file like I do it.
...
Of course something should be changed and you do not need something, but it can help you how it can be done.
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
POOL: eth-eu1.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
POOL: eth-eu2.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
POOL: eth-us-east1.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
POOL: eth-us-west1.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
POOL: eth-asia1.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
shutdown /r /t 5 /f
@echo off
rem ********************************
rem * wallet: *
rem * private *
rem * btc-trade *
rem * pool: *
rem * ethermine *
rem * nanopool *
rem ********************************
rem ---------- SETUP DATA ----------
set claymore_path=Claymore 10.6
set claymore_params=-mport -3333 -minspeed 187 -r 1 -tt 30 -ttli 63 -tstop 65 -tstart 40
set wallet=private
set pool=nanopool
rem --------------------------------
setx GPU_FORCE_64BIT_PTR 0 > nul
setx GPU_MAX_HEAP_SIZE 100 > nul
setx GPU_USE_SYNC_OBJECTS 1 > nul
setx GPU_MAX_ALLOC_PERCENT 100 > nul
setx GPU_SINGLE_ALLOC_PERCENT 100 > nul
timeout /t 15
cls
if "%wallet%" == "btc-trade" set wallet_address=0x00000dec3e7a3743b14651d8e49a4564ee200000
if "%wallet%" == "private" set wallet_address=0x000007517a8eFD4104Ba3c482F0B89692dA00000
powershell -command "(gc epools.txt) -replace '', '%wallet_address%' | Out-File -Encoding ascii '%claymore_path%\epools.txt'"
copy /Y reboot.bat "%claymore_path%\reboot.bat" > nul
cd %claymore_path%
@echo on
@if "%pool%" == "ethermine" goto :ETHERMINE
:NANOPOOL
EthDcrMiner64.exe -epool eth-eu1.nanopool.org:9999 -ewal %wallet_address%/JAMES-MINER/[email protected] -epsw x %claymore_params%
@goto :END
:ETHERMINE
@rem EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal %wallet_address%/JAMES-MINER -epsw x %claymore_params%
EthDcrMiner64.exe -epool ssl://eu1.ethermine.org:5555 -ewal %wallet_address%/JAMES-MINER -epsw x %claymore_params%
:END
@pause
#!/bin/bash
# CARREGA CONFIG GPU
# gpu.conf.sh
MINER_HOME="/home/MyUser/Claymore/v11.5"
SERV_ETH="eth-us-east1.nanopool.org"
PORT_ETH="9999"
USR_ETH="walletaddress.Worker/[email protected]"
PWD_ETH=""
SERV_DUAL="pasc-us-east1.nanopool.org"
PORT_DUAL="15555"
USR_DUAL="wallet.address.WorkerPASC/[email protected]"
PWD_DUAL=""
#JAXX Wallet
$MINER_HOME/ethdcrminer64 -epool $SERV_ETH:$PORT_ETH -ewal $USR_ETH -mode 1 -ftime 10 -mport -8080
#JAXX (ETH) Wallet + PASCAL Wallet
#$MINER_HOME/ethdcrminer64 -epool $SERV_ETH:$PORT_ETH -ewal $USR_ETH -dcoin pasc -dpool $SERV_DUAL:$PORT_DUAL -dwal $USR_DUAL -ftime 10 -mport -8080
POOL: eth-eu1.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
POOL: eth-eu2.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
POOL: eth-us-east1.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
POOL: eth-us-west1.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
POOL: eth-asia1.nanopool.org:9999, WALLET:/rig1/[email protected], PSW: x, WORKER: , ESM: 0, ALLPOOLS: 0
shutdown /r /t 5 /f
@echo off
rem ********************************
rem * wallet: *
rem * private *
rem * btc-trade *
rem * pool: *
rem * ethermine *
rem * nanopool *
rem ********************************
rem ---------- SETUP DATA ----------
set claymore_path=Claymore 10.6
set claymore_params=-mport -3333 -minspeed 187 -r 1 -tt 30 -ttli 63 -tstop 65 -tstart 40
set wallet=private
set pool=nanopool
rem --------------------------------
setx GPU_FORCE_64BIT_PTR 0 > nul
setx GPU_MAX_HEAP_SIZE 100 > nul
setx GPU_USE_SYNC_OBJECTS 1 > nul
setx GPU_MAX_ALLOC_PERCENT 100 > nul
setx GPU_SINGLE_ALLOC_PERCENT 100 > nul
timeout /t 15
cls
if "%wallet%" == "btc-trade" set wallet_address=0x00000dec3e7a3743b14651d8e49a4564ee200000
if "%wallet%" == "private" set wallet_address=0x000007517a8eFD4104Ba3c482F0B89692dA00000
powershell -command "(gc epools.txt) -replace '', '%wallet_address%' | Out-File -Encoding ascii '%claymore_path%\epools.txt'"
copy /Y reboot.bat "%claymore_path%\reboot.bat" > nul
cd %claymore_path%
@echo on
@if "%pool%" == "ethermine" goto :ETHERMINE
:NANOPOOL
EthDcrMiner64.exe -epool eth-eu1.nanopool.org:9999 -ewal %wallet_address%/rig1/[email protected] -epsw x %claymore_params%
@goto :END
:ETHERMINE
@rem EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal %wallet_address%/rig1 -epsw x %claymore_params%
EthDcrMiner64.exe -epool ssl://eu1.ethermine.org:5555 -ewal %wallet_address%/rig1 -epsw x %claymore_params%
:END
@pause