Schedules a job to periodically move Chia .plot files from a staging drive to a destination drive.
Disclaimer: I have never written Python before, so this is very much a learning exercise.
- Moves
.plotfiles from staging to destination drive - Set custom interval for job to run
- Sends updates to Discord using Webhooks
- Check that destination drive has space for plot
- Use an array of destination drives
- Install the latest version of Python: https://www.python.org/downloads/
- Download the repo with
git cloneor download.zip - Move into downloaded folder with
cd - Install requirements
pip install -r requirements.txt - Rename
.env.sampleto.envand configure (see Config below) - Run with
python start.py
INTERVAL- Interval in seconds to run the job. Example:INTERVAL=600STAGING- Directory where files are staged. Example:STAGING=D:/- You can use folders too, just make sure they exist. Example:
STAGING=D:/plots/
- You can use folders too, just make sure they exist. Example:
DESTINATION- Directory where files will be moved to. Example:DESTINATION=E:/- You can use folders here too, see above example.
DISCORD_WEBHOOK_URL- [OPTIONAL] Webhook URL for sending messages to Discord
