This post is to show you how to use Windows scheduler and batch script to setup an automation to automate the mining of your favorite crypto currency (Bitcoin, Litecoin, Dodgecoin, etc…) whenever the Windows PC screen is locked, AC power plugged in and idle. The following steps are based on Pooler CPU miner program . You will also need to have a pool mining account. I assume that you already know how to setup the CPU miner to mine from a mining pool and you already know how to setup the JSON configuration file. Note: This post does not show you how to setup pool mining or creating an account for crypto currency. Prepare a start mining batch script 1. Create a start_cpuminer.bat script file and copy and paste the template code below: start /min /low [path-to-cpuminer-daemon-program] -c [path-to-json-cfg-file] 2. Replace the path to your Pooler CPU miner program and path to your JSON configuration file. Save the file after replacements. Prepare a stop mining batch script 1. You will nee...