Skip to content

Instantly share code, notes, and snippets.

View fergalmoran's full-sized avatar

Fergal Moran fergalmoran

View GitHub Profile
@brimur
brimur / checkDisk.sh
Last active October 25, 2021 07:01
Cron script to control
# 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