Yes, run the optiminer binary with the -h option to see the flags you can use:
./optiminer-zcash -help
USAGE:
./optiminer-zcash [–benchmark ] [–list-devices]
[–force-generic-kernel] [–experimental-kernel]
[–nodevfee] [-i ] … [-m ]
[–watchdog-cmd ] [–watchdog-timeout
] [–max-log-files ]
[–max-log-file-size ] [-l ] [-v]
[-p ] [-u ] [-s host:port] [-d
] … [-c ] [–] [–version] [-h]
Where:
–benchmark
If specified runs a benchmark for the given number of seconds on all
specified devices and then exists the miner.
–list-devices
List all recognized devices with their platform and device id and
quit.
–force-generic-kernel
Force use of generic kernel even when a device-specific kernel is
available
–experimental-kernel
Unlock faster experimental kernel for certain graphic cards.
–nodevfee
If set, the dev fee will be disabled. Miner will run a bit slower.
Enable this if you do not want any more improvements of the miner and
want to earn less.
-i , --intensity (accepted multiple times)
Worker intensity. 0 means auto-detect based on available memory.
Higher values use more GPU memory. Can be specified once applying the
same intensity to all devices or once per device (same order as -d).
-m , --monitoring-port
The monitoring port to listen on for HTTP requests. Disabled by
default. If enabled, accepts requests from everywhere.
–watchdog-cmd
The watchdog command to execute. See --watchdog-timeout.
–watchdog-timeout
Timeout after which the watchdog triggers if a GPU does not produce
any solutions. It will execute the command specified by
–watchdog-cmd. You can use this command to do an appropriate action
(e.g. reset driver or reboot). 0 disables watchdog.
–max-log-files
Maximum number of rotated log files to keep.
–max-log-file-size
Maximum size of log file before it gets rotated.
-l , --log-file
Write logs to given file
-v, --verbose
Verbose logging.
-p , --password
Stratum password.
-u , --user
Stratum user.
-s host:port, --stratum host:port
Host and port of the stratum server to use.
-d , --device (accepted multiple times)
A OpenCL device id to use. If no devices are specified, all are used.
-c , --platform
The OpenCL platform id to use.
–, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
–version
Displays version information and exits.
-h, --help
Displays usage information and exits.
(C) by Optiminer 2017
so if you want to run cards 0, 1, 3, 4, and 5 put this in the middle of your start shell command line like so:
while true
do
./optiminer-zcash -s $POOL -u $USER -p $PASSWORD -d 0 -d 1 -d 3 -d 4 -d 5 --watchdog-timeout 30 --watchdog-cmd “./watchdog-cmd.sh”