This is a couple of scripts(one in python the other one in bash) that will allow you to collect your earned cryptos and send them to an exchange or a different address according to the settings of your crontab. It was designed for master nodes but it will also work for any wallet that you may be receiving coins like when mining.
We said manually, because you need to provide the name of your coin and the amount of coins are needed for a masternode. We will create another where those parameters can be selected(coin) and filled out for you(needed).
# move to /bin folder so it can be call from anywhere
coin-cli sendtoaddress "$1" $2 "" "" true