Skip to content

Instantly share code, notes, and snippets.

@brimur
brimur / checkDisk.sh
Last active Sep 7, 2020
Cron script to control
View checkDisk.sh
# Name: checkDisk.sh
# Created by: Brimur
# Created: Nov 26th 2019
# This script is used to control Transmission jobs based on available disk space.
#
# This should be run as a cronjob (every minute) on the server/computer running Transmission
#
# If you use a download manager tell it to add jobs as PAUSED
#
# - If disk is nearly full (limit) then stop all jobs